Refactor
This commit is contained in:
parent
26072b5cff
commit
93566f658c
1 changed files with 8 additions and 12 deletions
|
@ -1,21 +1,17 @@
|
|||
{ inputs, self, ... }:
|
||||
{ self, ... }:
|
||||
|
||||
{
|
||||
perSystem =
|
||||
{ pkgs, system, ... }:
|
||||
let
|
||||
# TODO: refactor to use inputs' or similar.
|
||||
nixvim = inputs.nixvim.legacyPackages.${system}.makeNixvimWithModule {
|
||||
{ inputs', pkgs, ... }:
|
||||
{
|
||||
packages = {
|
||||
default = pkgs.mkShell { buildInputs = with pkgs; [ just ]; };
|
||||
|
||||
nixvim = inputs'.nixvim.legacyPackages.makeNixvimWithModule {
|
||||
inherit pkgs;
|
||||
|
||||
module = import "${self}/modules/home-manager/coding/neovim/config";
|
||||
};
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
inherit nixvim;
|
||||
|
||||
default = pkgs.mkShell { buildInputs = with pkgs; [ just ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue