docker: format config
This commit is contained in:
		
							parent
							
								
									71e882d2d8
								
							
						
					
					
						commit
						c4a82f770f
					
				
					 1 changed files with 12 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,18 @@
 | 
			
		|||
{ pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.flatpak.enable = true;
 | 
			
		||||
  virtualisation.docker.enable = true;
 | 
			
		||||
  virtualisation.docker.autoPrune.enable = true;
 | 
			
		||||
  virtualisation.docker.autoPrune.dates = "monthly";
 | 
			
		||||
  virtualisation.docker.autoPrune.flags = [ "--all --volumes" ];
 | 
			
		||||
 | 
			
		||||
  virtualisation.docker = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    autoPrune = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      dates = "monthly";
 | 
			
		||||
      flags = [
 | 
			
		||||
        "--all"
 | 
			
		||||
        "--volumes"
 | 
			
		||||
      ];
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  programs.extra-container.enable = true;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue