diff --git a/flake.nix b/flake.nix index 60245a5..6df3690 100644 --- a/flake.nix +++ b/flake.nix @@ -41,12 +41,17 @@ nixosConfigurations.emmathorpe-edaas = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; - let profile = "work"; modules = [ ./system/machine/EDaaS/configuration.nix ./emmathorpe/user.nix - ./emmathorpe/swaywm.nix - ./emmathorpe/home-manager-module.nix + ./emmathorpe/swaywm.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + + home-manager.users.emmathorpe.imports = [ ./emmathorpe/home.nix ./system/modules/work/default.nix ]; + } ]; }; };