home-manager: flake level nixos module deps
This commit is contained in:
parent
62b1d553f2
commit
24af078952
2 changed files with 7 additions and 2 deletions
|
@ -98,7 +98,6 @@
|
|||
security.polkit.enable = true;
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs self; };
|
||||
users = { "ravenshade" = import ./home.nix; };
|
||||
# backupFileExtension = "backup";
|
||||
};
|
||||
|
|
|
@ -20,7 +20,7 @@ rec {
|
|||
{ hostname, system }:
|
||||
nameValuePair
|
||||
hostname
|
||||
(nixosSystem {
|
||||
(nixosSystem rec {
|
||||
pkgs = makePkgs system;
|
||||
specialArgs = { inherit inputs self; };
|
||||
|
||||
|
@ -28,6 +28,12 @@ rec {
|
|||
../hosts/${hostname}/hardware-configuration.nix
|
||||
../hosts/${hostname}/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
{
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs self pkgs;
|
||||
lib = pkgs.lib.extend (_: _: inputs.home-manager.lib);
|
||||
};
|
||||
}
|
||||
];
|
||||
});
|
||||
compileSystems =
|
||||
|
|
Loading…
Reference in a new issue