Changed: Podman
This commit is contained in:
		@@ -10,7 +10,7 @@
 | 
			
		||||
    users.users.${username} = {
 | 
			
		||||
        isNormalUser = true;
 | 
			
		||||
        description = username;
 | 
			
		||||
        extraGroups = ["networkmanager" "wheel"];
 | 
			
		||||
        extraGroups = ["networkmanager" "wheel" "podman"];
 | 
			
		||||
    };
 | 
			
		||||
# given the users in this list the right to specify additional substituters via:
 | 
			
		||||
#    1. `nixConfig.substituers` in `flake.nix`
 | 
			
		||||
@@ -106,6 +106,7 @@
 | 
			
		||||
    services.gvfs.enable = true;
 | 
			
		||||
    services.tumbler.enable = true;
 | 
			
		||||
 | 
			
		||||
# Virtualisation
 | 
			
		||||
    virtualisation = {
 | 
			
		||||
        containers.enable = true;
 | 
			
		||||
 | 
			
		||||
@@ -114,24 +115,20 @@
 | 
			
		||||
            dockerCompat = true;
 | 
			
		||||
            defaultNetwork.settings.dns_enabled = true;
 | 
			
		||||
        };
 | 
			
		||||
        
 | 
			
		||||
        docker = {
 | 
			
		||||
            enable = true;
 | 
			
		||||
            rootless = {
 | 
			
		||||
                enable = true;
 | 
			
		||||
                setSocketVariable = true;
 | 
			
		||||
            };
 | 
			
		||||
            daemon.settings = {
 | 
			
		||||
                data-root = "/docker/containers";
 | 
			
		||||
                userland-proxy = false;
 | 
			
		||||
                experimental = true;
 | 
			
		||||
                metrics-addr = "0.0.0.0:9323";
 | 
			
		||||
                ipv6 = true;
 | 
			
		||||
                fixed-cidr-v6 = "fd00::/80";
 | 
			
		||||
 | 
			
		||||
        oci-containers = {
 | 
			
		||||
            backend = "podman";
 | 
			
		||||
            containers = {
 | 
			
		||||
                /*container-name = {
 | 
			
		||||
                    image = "image";
 | 
			
		||||
                    autoStart = true;
 | 
			
		||||
                    ports = [ "127.0.0.1:1234:1234" ];
 | 
			
		||||
                };*/
 | 
			
		||||
            };
 | 
			
		||||
        };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# networking.firewall.allowedTCPPorts = [ ... ];
 | 
			
		||||
# networking.firewall.allowedUDPPorts = [ ... ];
 | 
			
		||||
# Or disable the firewall altogether.
 | 
			
		||||
@@ -195,6 +192,11 @@
 | 
			
		||||
        unzip
 | 
			
		||||
        p7zip
 | 
			
		||||
        xz
 | 
			
		||||
 | 
			
		||||
# Virtualisation 
 | 
			
		||||
        podman-compose # docker-compose alternative
 | 
			
		||||
        dive # docker layer viewer
 | 
			
		||||
        podman-tui # status of containers in terminal 
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
# Enable sound with pipewire.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user