refactor(docker podman): better docker and podman configuration
This commit is contained in:
		
							parent
							
								
									f810e561fa
								
							
						
					
					
						commit
						7899f32aba
					
				@ -1,6 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
  lib,
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
@ -14,6 +15,9 @@ in {
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  config = {
 | 
			
		||||
    environment.systemPackages = mkIf cfg.podman.enable [
 | 
			
		||||
      pkgs.podman-desktop
 | 
			
		||||
    ];
 | 
			
		||||
    virtualisation = {
 | 
			
		||||
      docker = mkIf (cfg.enable && !cfg.podman.enable) {
 | 
			
		||||
        enable = true;
 | 
			
		||||
 | 
			
		||||
@ -74,8 +74,6 @@ with lib; {
 | 
			
		||||
    dive # A tool for exploring each layer in a docker image
 | 
			
		||||
    grype # Vulnerability scanner for container images and filesystems
 | 
			
		||||
    kicad # Working on my custom keyboard
 | 
			
		||||
    podman-desktop
 | 
			
		||||
    podman-compose
 | 
			
		||||
    tectonic # better LaTeX engine
 | 
			
		||||
    virt-manager
 | 
			
		||||
    zeal
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user