share user configuration between systems
This commit is contained in:
parent
35545242ac
commit
9be3527af1
3 changed files with 22 additions and 30 deletions
15
nix/system/common/users.nix
Normal file
15
nix/system/common/users.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.haak = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel" # Enable ‘sudo’ for the user.
|
||||
"networkmanager" # Allow the user to manage networks
|
||||
];
|
||||
};
|
||||
|
||||
users.extraUsers.haak = {
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue