commit 4882d2e650ed17fbb1b89723bd2dca1f862be299
parent 447e590de97a76b1668b39b7ac40b3b5f5427ce0
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 25 May 2020 16:51:14 +0200
systems: do not import home.nix
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/systems/hokkaido.nix b/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 ];
};
diff --git a/systems/wakasu.nix b/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 ];
};