forked from colonelpanic/dotfiles
[NixOS] Add kat user
This commit is contained in:
parent
d0a9479da9
commit
cb6c3cbe1c
@ -150,8 +150,10 @@ in
|
|||||||
feh
|
feh
|
||||||
gnome3.gpaste
|
gnome3.gpaste
|
||||||
kdeconnect
|
kdeconnect
|
||||||
|
libnotify
|
||||||
lxqt.lxqt-powermanagement
|
lxqt.lxqt-powermanagement
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
|
notify-osd
|
||||||
pasystray-appindicator
|
pasystray-appindicator
|
||||||
pinentry
|
pinentry
|
||||||
pommed_light
|
pommed_light
|
||||||
@ -279,19 +281,32 @@ in
|
|||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.extraUsers.imalison = {
|
users.extraUsers = let
|
||||||
name = "imalison";
|
|
||||||
group = "users";
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel" "disk" "audio" "video"
|
"wheel" "disk" "audio" "video"
|
||||||
"networkmanager" "systemd-journal"
|
"networkmanager" "systemd-journal"
|
||||||
];
|
];
|
||||||
|
userDefaults = {
|
||||||
|
inherit extraGroups;
|
||||||
|
group = "users";
|
||||||
|
isNormalUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
imalison = userDefaults // {
|
||||||
|
name = "imalison";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
home = "/home/imalison";
|
home = "/home/imalison";
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
kat = userDefaults // {
|
||||||
|
name = "kat";
|
||||||
|
uid = 1001;
|
||||||
|
home = "/home/kat";
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "18.03";
|
system.stateVersion = "18.03";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user