diff options
| author | schererleander <leander@schererleander.de> | 2025-07-30 23:53:36 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-07-30 23:53:36 +0200 |
| commit | 9d18586e046fb395efe3fa55cff6a5079aeb7117 (patch) | |
| tree | 315f1ad13c1e0823a0416ea98412deca1cc8a7f1 /hosts/vps | |
| parent | d9a3e99839075f98d6ae41fc30f9d5f34b45ac6f (diff) | |
feat: pass username to modules
Diffstat (limited to 'hosts/vps')
| -rw-r--r-- | hosts/vps/configuration.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index 7a928a9..3811615 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, username, ... }: { imports = [ @@ -17,7 +17,7 @@ users.users.root.hashedPassword = "!"; users.mutableUsers = false; - users.users.administrator = { + users.users.${username} = { isNormalUser = true; hashedPassword = "$6$KBblJguEyfEmuWnU$Xf0QqPVacA2qvnzZRpnSE2cmh0kNnMgtVhCrMEDI76buNzuzkuDY6EnO7jPjQlEnoczx6ZPAl2pK.SxezbVa.."; extraGroups = [ "wheel" ]; |
