diff --git a/flake.nix b/flake.nix index c2c1103..1aaa4c6 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; + }; + } ]; };