home-manager: flake level nixos module deps
parent
62b1d553f2
commit
24af078952
|
@ -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 New Issue