This commit is contained in:
2026-07-27 19:43:42 +09:00
parent 0257b2e2fd
commit f65318b765
2 changed files with 24 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{ primaryUser, ... }:
{
# The account already exists in macOS; declaring only its home keeps
# nix-darwin from taking ownership of user creation and deletion.
users.users.${primaryUser}.home = "/Users/${primaryUser}";
nix.settings = {
allowed-users = [ primaryUser ];
trusted-users = [
"root"
primaryUser
];
};
}