configuration: make users imutable
This commit is contained in:
parent
9b8cd1b7a5
commit
fa80743304
|
@ -88,12 +88,16 @@
|
||||||
services.xserver.libinput.enable = true;
|
services.xserver.libinput.enable = 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.mutableUsers = false;
|
||||||
users.users.lelgenio = {
|
users.users.lelgenio = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Leonardo Eugênio";
|
description = "Leonardo Eugênio";
|
||||||
|
hashedPassword = "$y$j9T$0e/rczjOVCy7PuwC3pG0V/$gTHZhfO4wQSlFvbDyfghbCnGI2uDI0a52zSrQ/yOA5A";
|
||||||
extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" "bluetooth" ];
|
extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" "bluetooth" ];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
users.users.root.initialHashedPassword = "$y$j9T$E3aBBSSq0Gma8hZD9L7ov0$iCGDW4fqrXWfHO0qodBYYgMFA9CpIraoklHcPbJJrM3";
|
||||||
|
|
||||||
# services.getty.autologinUser = "lelgenio";
|
# services.getty.autologinUser = "lelgenio";
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
# TODO: enable thunar plugins
|
# TODO: enable thunar plugins
|
||||||
|
|
Loading…
Reference in a new issue