From dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 30 Dec 2025 19:02:53 -0800 Subject: add back some abstractions related to user management --- machines/argonath.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'machines/argonath.nix') diff --git a/machines/argonath.nix b/machines/argonath.nix index 29d78ae..0c141dc 100644 --- a/machines/argonath.nix +++ b/machines/argonath.nix @@ -1,4 +1,4 @@ -{ ... }: +{ adminUser, ... }: { imports = [ ../profiles/acme.nix @@ -11,14 +11,15 @@ ../profiles/reverse-proxy.nix ../profiles/server.nix ../profiles/wireguard.nix - ../profiles/users/fcuny.nix + ../profiles/users/home-manager.nix + ../profiles/users/admin-user.nix ]; networking.hostName = "argonath"; system.stateVersion = "25.05"; # Did you read the comment? - home-manager.users.fcuny = { + home-manager.users.${adminUser.name} = { imports = [ ../home/profiles/minimal.nix ]; -- cgit v1.2.3