Make a module instead
This commit is contained in:
parent
d7a279a2f2
commit
45161926a6
12
flake.nix
12
flake.nix
|
@ -24,14 +24,10 @@
|
|||
(import ./module.nix { inherit doom-emacs niten-doom-config; })
|
||||
];
|
||||
};
|
||||
mkHomeManagerConfiguration = { username, user-email, home-dir, enable-gui, pkgs, ... }:
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
(import ./niten.nix {
|
||||
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
|
||||
})
|
||||
];
|
||||
mkModule = { username, user-email, home-dir, enable-gui, pkgs, ... }:
|
||||
import ./niten.nix {
|
||||
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue