refactor: don't include the whole modules
Instead only import the nixos/hm/nixvim module. This _should_ reduce rebuilds.
This commit is contained in:
parent
5359f13621
commit
c1309a5d43
6 changed files with 78 additions and 87 deletions
|
@ -1,7 +1,4 @@
|
|||
{ self, inputs, ... }:
|
||||
let
|
||||
modules = ../modules;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.nixvim.flakeModules.default ];
|
||||
|
||||
|
@ -10,10 +7,14 @@ in
|
|||
checks.enable = false; # FIXME: borked due to nix-community/nixvim#3074
|
||||
};
|
||||
|
||||
flake.nixvimModules = {
|
||||
standalone = modules + "/nixvim/standalone.nix";
|
||||
homeManager = modules + "/nixvim";
|
||||
};
|
||||
flake.nixvimModules =
|
||||
let
|
||||
module = ../modules/nixvim;
|
||||
in
|
||||
{
|
||||
standalone = "${module}/standalone.nix";
|
||||
homeManager = module;
|
||||
};
|
||||
|
||||
perSystem =
|
||||
{ system, ... }:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue