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/rivendell.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'machines/rivendell.nix') diff --git a/machines/rivendell.nix b/machines/rivendell.nix index c295d24..33fe6f8 100644 --- a/machines/rivendell.nix +++ b/machines/rivendell.nix @@ -1,4 +1,9 @@ -{ lib, config, ... }: +{ + adminUser, + lib, + config, + ... +}: { imports = [ ../profiles/authelia.nix @@ -17,7 +22,8 @@ ../profiles/server.nix ../profiles/storage-media.nix ../profiles/users/builder.nix - ../profiles/users/fcuny.nix + ../profiles/users/admin-user.nix + ../profiles/users/home-manager.nix ../profiles/wireguard.nix ]; @@ -76,5 +82,7 @@ system.stateVersion = "23.11"; - home-manager.users.fcuny.imports = [ ../home/profiles/minimal.nix ]; + home-manager.users.${adminUser.name} = { + imports = [ ../home/profiles/minimal.nix ]; + }; } -- cgit v1.2.3