aboutsummaryrefslogtreecommitdiff
path: root/machines/rivendell.nix
diff options
context:
space:
mode:
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 ];
+ };
}