feat: enable home-manager on nixos-vm
This commit is contained in:
parent
35665c9ff0
commit
8d93c529dc
1 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,15 @@
|
|||
./users.nix
|
||||
./machines/nixos-vm/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 ];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue