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
|
||||
{
|
||||
# FIXME(25.05): this version of HM should have the flake module
|
||||
# imports = [ inputs.home-manager.flakeModules.home-manager ];
|
||||
|
@ -11,7 +8,7 @@ in
|
|||
defaultModules = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
self.nixvimModules.homeManager
|
||||
(modules + "/hm")
|
||||
../modules/hm
|
||||
];
|
||||
nixos = {
|
||||
imports = defaultModules;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue