mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
19 lines
356 B
Nix
19 lines
356 B
Nix
{ identity, ... }: {
|
||
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users.${identity.user} = {
|
||
|
||
# Create a home directory for human user
|
||
isNormalUser = true;
|
||
|
||
# Automatically create a password to start
|
||
initialPassword = "changeme";
|
||
|
||
extraGroups = [
|
||
"wheel" # Sudo privileges
|
||
];
|
||
|
||
};
|
||
|
||
}
|