added docker to leyla and horizon
This commit is contained in:
		
							parent
							
								
									f7963b8010
								
							
						
					
					
						commit
						8d48ce99a1
					
				
					 2 changed files with 9 additions and 2 deletions
				
			
		|  | @ -29,7 +29,14 @@ | ||||||
|   networking.hostName = "horizon"; # Define your hostname. |   networking.hostName = "horizon"; # Define your hostname. | ||||||
| 
 | 
 | ||||||
|   # enabled virtualisation for docker |   # enabled virtualisation for docker | ||||||
|   # virtualisation.docker.enable = true; |   virtualisation.docker = { | ||||||
|  |     enable = true; | ||||||
|  |     rootless = { | ||||||
|  |       enable = true; | ||||||
|  |       setSocketVariable = true; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
|   # Enable touchpad support (enabled default in most desktopManager). |   # Enable touchpad support (enabled default in most desktopManager). | ||||||
|   # services.xserver.libinput.enable = true; |   # services.xserver.libinput.enable = true; | ||||||
|  |  | ||||||
|  | @ -35,7 +35,7 @@ in | ||||||
|       ( |       ( | ||||||
|         if cfg.isNormalUser then { |         if cfg.isNormalUser then { | ||||||
|           isNormalUser = true; |           isNormalUser = true; | ||||||
|           extraGroups = [ "networkmanager" "wheel" "adbusers" ]; |           extraGroups = [ "networkmanager" "wheel" "adbusers" "docker" ]; | ||||||
| 
 | 
 | ||||||
|           hashedPasswordFile = config.sops.secrets."passwords/leyla".path; |           hashedPasswordFile = config.sops.secrets."passwords/leyla".path; | ||||||
|         } else { |         } else { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue