feat: enable home-manager on nixos-vm

This commit is contained in:
Michael Mandl 2022-06-20 08:53:37 +02:00
parent 35665c9ff0
commit 8d93c529dc

View file

@ -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 ];
};
}
];
};