aboutsummaryrefslogtreecommitdiff
path: root/machines/rivendell.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/rivendell.nix
parentinclude relevant programs in work profile (diff)
downloadinfra-dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236.tar.gz
add back some abstractions related to user management
Diffstat (limited to 'machines/rivendell.nix')
-rw-r--r--machines/rivendell.nix14
1 files changed, 11 insertions, 3 deletions
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 ];
+ };
}