diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-30 19:02:53 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-30 19:02:53 -0800 |
| commit | dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236 (patch) | |
| tree | b57889c0d611f11bdecba29c7a777c6100ba92df /profiles/darwin.nix | |
| parent | include relevant programs in work profile (diff) | |
| download | infra-dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236.tar.gz | |
add back some abstractions related to user management
Diffstat (limited to '')
| -rw-r--r-- | profiles/darwin.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/profiles/darwin.nix b/profiles/darwin.nix index dadc7b9..d1e13a5 100644 --- a/profiles/darwin.nix +++ b/profiles/darwin.nix @@ -1,4 +1,9 @@ -{ lib, pkgs, ... }: +{ + adminUser, + lib, + pkgs, + ... +}: { fonts.packages = with pkgs; [ dejavu_fonts @@ -41,7 +46,7 @@ # Touch ID for sudo auth security.pam.services.sudo_local.touchIdAuth = true; - system.primaryUser = "fcuny"; + system.primaryUser = adminUser.name; environment.shells = [ pkgs.fish ]; @@ -80,7 +85,7 @@ ]; trusted-users = [ "@admin" - "fcuny" + adminUser.name ]; experimental-features = lib.mkDefault [ "nix-command" |
