From 3a9407fc9da87e6fb906a1327bed02f8003acd10 Mon Sep 17 00:00:00 2001 From: Emma Thorpe Date: Thu, 19 Jun 2025 10:16:16 +0000 Subject: [PATCH] feat: make multi-file work, though not pretty --- flake.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 ]; + } ]; }; };