feat: enable home-manager on nixos-vm
This commit is contained in:
parent
35665c9ff0
commit
8d93c529dc
@ -22,6 +22,15 @@
|
|||||||
./users.nix
|
./users.nix
|
||||||
./machines/nixos-vm/configuration.nix
|
./machines/nixos-vm/configuration.nix
|
||||||
./machines/nixos-vm/hardware-configuration.nix
|
./machines/nixos-vm/hardware-configuration.nix
|
||||||
|
|
||||||
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.extraSpecialArgs = { inherit user; };
|
||||||
|
home-manager.users.${user} = {
|
||||||
|
imports = [ ./home-${user}.nix ];
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user