From ff9894fdbb9fdcb373ef7ade91554f8be11ffba9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 31 Dec 2025 09:10:52 -0800 Subject: simplify a bit more minimal profile --- home/profiles/minimal.nix | 6 +----- machines/argonath.nix | 1 + machines/bree.nix | 1 + machines/rivendell.nix | 1 + 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/home/profiles/minimal.nix b/home/profiles/minimal.nix index d519374..5134dd7 100644 --- a/home/profiles/minimal.nix +++ b/home/profiles/minimal.nix @@ -1,7 +1,4 @@ -{ config, ... }: -let - inherit (config.home) username; -in +{ ... }: { imports = [ ../programs/cli/bat.nix @@ -10,6 +7,5 @@ in ../programs/shell/fish.nix ]; - home.homeDirectory = "/home/${username}"; home.stateVersion = "25.05"; } diff --git a/machines/argonath.nix b/machines/argonath.nix index 0c141dc..78738a0 100644 --- a/machines/argonath.nix +++ b/machines/argonath.nix @@ -20,6 +20,7 @@ system.stateVersion = "25.05"; # Did you read the comment? home-manager.users.${adminUser.name} = { + home.homeDirectory = "/home/${adminUser.name}"; imports = [ ../home/profiles/minimal.nix ]; diff --git a/machines/bree.nix b/machines/bree.nix index a633997..d5e52d0 100644 --- a/machines/bree.nix +++ b/machines/bree.nix @@ -37,6 +37,7 @@ system.stateVersion = "23.11"; # Did you read the comment? home-manager.users.${adminUser.name} = { + home.homeDirectory = "/home/${adminUser.name}"; imports = [ ../home/profiles/minimal.nix ]; diff --git a/machines/rivendell.nix b/machines/rivendell.nix index 33fe6f8..8d27f87 100644 --- a/machines/rivendell.nix +++ b/machines/rivendell.nix @@ -83,6 +83,7 @@ system.stateVersion = "23.11"; home-manager.users.${adminUser.name} = { + home.homeDirectory = "/home/${adminUser.name}"; imports = [ ../home/profiles/minimal.nix ]; }; } -- cgit v1.2.3