Break out users
This commit is contained in:
		
							parent
							
								
									c9b979374f
								
							
						
					
					
						commit
						a756257511
					
				
					 3 changed files with 33 additions and 29 deletions
				
			
		
							
								
								
									
										14
									
								
								users/nyadmin/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								users/nyadmin/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
{ config, pkgs, lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  users.users.nyadmin = {
 | 
			
		||||
   isNormalUser = true;
 | 
			
		||||
   shell = pkgs.zsh;
 | 
			
		||||
   home = "/home/nyadmin";
 | 
			
		||||
   description = "Administrator~";
 | 
			
		||||
   extraGroups = [ "wheel" "kvm" "libvirt" "docker" ];
 | 
			
		||||
   initialHashedPassword = "$y$j9T$XguIcj/AVXsWW/MxSYAGh0$TivGAa0z8KNCli2mKTd24vtqimpadNzqMFwfbeh0p30";
 | 
			
		||||
   openssh.authorizedKeys.keys = [
 | 
			
		||||
     "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOVgHcJ9C8TD515x+KqFKNYUa6IZML6LU3FWovmDIvyZ" ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue