mirror of
https://github.com/nmasur/dotfiles
synced 2025-08-20 08:44:41 +00:00
separate xorg and i3
This commit is contained in:
20
modules/system/user.nix
Normal file
20
modules/system/user.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ user, ... }: {
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.${user} = {
|
||||
|
||||
# Create a home directory for human user
|
||||
isNormalUser = true;
|
||||
|
||||
# Automatically create a password to start
|
||||
initialPassword = "changeme";
|
||||
|
||||
# Enable sudo privileges
|
||||
extraGroups = [
|
||||
"wheel" # Sudo privileges
|
||||
"i2c" # Access to external monitors
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user