From a00086f63df186181c254a164c77b974cc7a5c7c Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Mon, 29 Jun 2026 14:38:08 -0400 Subject: DRY for username --- hosts/icon/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hosts/icon') diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index 62c5bb8..f47a87f 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -2,6 +2,7 @@ config, pkgs, inputs, + username, ... }: { imports = [ @@ -63,7 +64,7 @@ # systemd.services.fcgiwrap.serviceConfig.ReadOnlyPaths = ["/srv/git"]; # Define a user account. Don't forget to set a password with ‘passwd’. users.users = { - andrew = { + ${username} = { isNormalUser = true; extraGroups = [ -- cgit v1.3.1