about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix9
-rw-r--r--users/fcuny/default.nix4
2 files changed, 9 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 5c5f782..2accd12 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,6 +26,15 @@
           ./users/fcuny
           ./modules/systems
           ./modules/desktop
+          home-manager.nixosModules.home-manager {
+            home-manager.useGlobalPkgs = true;
+            home-manager.useUserPackages = true;
+            home-manager.users.fcuny = {
+              imports = [
+                ./users/fcuny/home-manager.nix
+              ];
+            };
+          }
         ];
       };
     };
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index 43b4f80..12d7468 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -16,8 +16,4 @@ in
     hashedPassword = "$6$i.z1brxtb44JAEco$fDD2Izl.zRR9vBCB2VBKPScChGw38EEl7QEiBTJ/EwgP3oSL0X3ZHq0PJ.RtqzBsWTPUjl4F3MKOBMhnaAPr6.";
     openssh.authorizedKeys.keys = keys;
   };
-
-  imports = [
-    ./home-manager.nix
-  ];
 }