configuration: make users imutable
This commit is contained in:
		
							parent
							
								
									9b8cd1b7a5
								
							
						
					
					
						commit
						fa80743304
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -88,12 +88,16 @@
 | 
			
		|||
  services.xserver.libinput.enable = true;
 | 
			
		||||
 | 
			
		||||
  # Define a user account. Don't forget to set a password with ‘passwd’.
 | 
			
		||||
  users.mutableUsers = false;
 | 
			
		||||
  users.users.lelgenio = {
 | 
			
		||||
    isNormalUser = true;
 | 
			
		||||
    description = "Leonardo Eugênio";
 | 
			
		||||
    hashedPassword = "$y$j9T$0e/rczjOVCy7PuwC3pG0V/$gTHZhfO4wQSlFvbDyfghbCnGI2uDI0a52zSrQ/yOA5A";
 | 
			
		||||
    extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" "bluetooth" ];
 | 
			
		||||
    shell = pkgs.fish;
 | 
			
		||||
  };
 | 
			
		||||
  users.users.root.initialHashedPassword = "$y$j9T$E3aBBSSq0Gma8hZD9L7ov0$iCGDW4fqrXWfHO0qodBYYgMFA9CpIraoklHcPbJJrM3";
 | 
			
		||||
 | 
			
		||||
  # services.getty.autologinUser = "lelgenio";
 | 
			
		||||
  programs.fish.enable = true;
 | 
			
		||||
  # TODO: enable thunar plugins
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue