From 9d18586e046fb395efe3fa55cff6a5079aeb7117 Mon Sep 17 00:00:00 2001 From: schererleander Date: Wed, 30 Jul 2025 23:53:36 +0200 Subject: feat: pass username to modules --- hosts/vps/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/vps') 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" ]; -- cgit v1.3.1