diff --git a/flake.nix b/flake.nix index e164b44..a8e4f65 100644 --- a/flake.nix +++ b/flake.nix @@ -26,13 +26,8 @@ system = "x86_64-linux"; modules = [ disko.nixosModules.disko - ./hosts/vm/configuration.nix home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.h = ./hosts/vm/home.nix; - } + ./hosts/vm/configuration.nix ]; }; }; diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 3e5a489..4e5a9e6 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -22,6 +22,11 @@ disko.devices.disk.main.device = "/dev/vda"; + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + users.h = ./home.nix; + }; programs.git.enable = true; programs.firefox.enable = true;