Commit 4882d2e650ed

Vincent Demeester <vincent@sbr.pm>
2020-05-25 16:51:14
systems: do not import home.nix
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 447e590
Changed files (2)
systems/hokkaido.nix
@@ -20,7 +20,16 @@ in
   };
 
   # FIXME move this away
-  home-manager.users.vincent = import ../home.nix;
+  home-manager.users.vincent = { pkgs, ... }: {
+    imports = [
+      # Default profile with default configuration
+      ../modules/module-list.nix
+      # Set the machine to home
+      ../machines/is-hm.nix
+      # Machine specific configuration files
+      ../machines/hokkaido.nix
+    ];
+  };
   home-manager.users.root = { pkgs, ... }: {
     home.packages = with pkgs; [ htop ];
   };
systems/wakasu.nix
@@ -20,7 +20,16 @@ in
   };
 
   # FIXME move this away
-  home-manager.users.vincent = import ../home.nix;
+  home-manager.users.vincent = { pkgs, ... }: {
+    imports = [
+      # Default profile with default configuration
+      ../modules/module-list.nix
+      # Set the machine to home
+      ../machines/is-hm.nix
+      # Machine specific configuration files
+      ../machines/wakasu.nix
+    ];
+  };
   home-manager.users.root = { pkgs, ... }: {
     home.packages = with pkgs; [ htop ];
   };