hosts/astatine: add guest user
This commit is contained in:
		| @@ -18,8 +18,10 @@ | ||||
|  | ||||
|   security.sudo.wheelNeedsPassword = false; | ||||
|  | ||||
|   users.groups.guests = {}; | ||||
|  | ||||
|   nix.settings = { | ||||
|     trusted-users = [ "@wheel" ]; | ||||
|     trusted-users = [ "@wheel" "@guests" ]; | ||||
|     auto-optimise-store = true; | ||||
|   }; | ||||
|  | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
|   imports = | ||||
|     [ | ||||
|       ./hardware-configuration.nix | ||||
|  | ||||
|       ./isa.nix | ||||
|     ]; | ||||
|  | ||||
|   boot.kernelParams = [ "console=ttyS0,115200n8" ]; | ||||
|   | ||||
							
								
								
									
										11
									
								
								hosts/astatine/isa.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								hosts/astatine/isa.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| { ... }: | ||||
|  | ||||
| { | ||||
|   users.users.isa = { | ||||
|     isNormalUser = true; | ||||
|     extraGroups = [ "guests" ]; | ||||
|     openssh.authorizedKeys.keys = [ | ||||
|       "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrvhqC/tZzpLMs/qy+1xNSVi2mfn8LXPIEhh7dcGn9e" | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user