[qemu][docker] Add modules and use on laptop
This commit is contained in:
		
							parent
							
								
									d9188bfd13
								
							
						
					
					
						commit
						414bb4b983
					
				
					 4 changed files with 33 additions and 1 deletions
				
			
		
							
								
								
									
										11
									
								
								nixos/modules/virtualisation/docker/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								nixos/modules/virtualisation/docker/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.sisyphus.virtualisation.docker; | ||||
| in { | ||||
|   options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker"; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     virtualisation.docker.enable = true; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue