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/bree.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'machines/bree.nix') diff --git a/machines/bree.nix b/machines/bree.nix index d779ce3..a633997 100644 --- a/machines/bree.nix +++ b/machines/bree.nix @@ -1,4 +1,9 @@ -{ lib, config, ... }: +{ + adminUser, + lib, + config, + ... +}: { imports = [ ../profiles/cgroups.nix @@ -8,7 +13,8 @@ ../profiles/hardware/synology-vm.nix ../profiles/home-manager.nix ../profiles/server.nix - ../profiles/users/fcuny.nix + ../profiles/users/admin-user.nix + ../profiles/users/home-manager.nix ../profiles/wireguard.nix ]; @@ -30,7 +36,7 @@ system.stateVersion = "23.11"; # Did you read the comment? - home-manager.users.fcuny = { + home-manager.users.${adminUser.name} = { imports = [ ../home/profiles/minimal.nix ]; -- cgit v1.2.3