mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:08:11 +09:00
mac
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user