add user conf and split some configs
This commit is contained in:
parent
e7f0cdb4a2
commit
6d4453b618
6 changed files with 52 additions and 16 deletions
23
modules/system/user.nix
Normal file
23
modules/system/user.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, username, ... }: {
|
||||
users = {
|
||||
users."${username}" = {
|
||||
linger = true;
|
||||
isNormalUser = true;
|
||||
description = "${username}";
|
||||
initialPassword = "${username}";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"dialout"
|
||||
"libvirtd"
|
||||
"docker"
|
||||
"input"
|
||||
"uinput"
|
||||
"ydotool"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue