summaryrefslogtreecommitdiffstats
path: root/hosts/icon
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 14:38:08 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 14:38:08 -0400
commita00086f63df186181c254a164c77b974cc7a5c7c (patch)
treef7d6ac98ab49166250a1635059ae032b3719a5be /hosts/icon
parentremove work legacy, move more pkgs to common for darwin (diff)
downloadnixos-a00086f63df186181c254a164c77b974cc7a5c7c.tar.gz
nixos-a00086f63df186181c254a164c77b974cc7a5c7c.tar.bz2
nixos-a00086f63df186181c254a164c77b974cc7a5c7c.zip
DRY for username
Diffstat (limited to 'hosts/icon')
-rw-r--r--hosts/icon/configuration.nix3
1 files changed, 2 insertions, 1 deletions
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 = [