aboutsummaryrefslogtreecommitdiff
path: root/machines/argonath.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-30 19:02:53 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-30 19:02:53 -0800
commitdacf64ca7fd6d6d2cf927c709a74cb7adc8e6236 (patch)
treeb57889c0d611f11bdecba29c7a777c6100ba92df /machines/argonath.nix
parentinclude relevant programs in work profile (diff)
downloadinfra-dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236.tar.gz
add back some abstractions related to user management
Diffstat (limited to 'machines/argonath.nix')
-rw-r--r--machines/argonath.nix7
1 files changed, 4 insertions, 3 deletions
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
];