sopp: podman

This commit is contained in:
Peder Bergebakken Sundt 2023-07-04 23:44:08 +02:00
parent 51575e020e
commit ad6bd43099
5 changed files with 13 additions and 20 deletions

View File

@ -10,6 +10,7 @@
../../hardware/opengl-intel.nix
../../profiles/auto-upgrade.nix
../../profiles/sshd.nix
../../profiles/podman.nix
../../users # home-manager
../../users/pbsds
@ -28,11 +29,6 @@
services.thermald.enable = true;
# Virtualization
#virtualisation.podman.enable = true;
#virtualisation.podman.dockerCompat = true; # alias docker to podman
#virtualisation.oci-containers.backend = "podman"; # default
# Networking
networking.networkmanager.enable = true;
/** /

View File

@ -48,11 +48,6 @@
services.thermald.enable = true;
# Virtualization
#virtualisation.podman.enable = true;
#virtualisation.podman.dockerCompat = true; # alias docker to podman
#virtualisation.oci-containers.backend = "podman"; # default
# Networking
networking.networkmanager.enable = true;
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View File

@ -9,6 +9,7 @@
../../hardware/gpu/intel.nix
../../profiles/auto-upgrade.nix
../../profiles/sshd.nix
../../profiles/podman.nix
../../users # home-manager
../../users/pbsds
@ -100,11 +101,6 @@
services.thermald.enable = true;
# Virtualization
virtualisation.podman.enable = true;
virtualisation.podman.dockerCompat = true; # alias docker to podman
virtualisation.oci-containers.backend = "podman"; # default
# Networking
networking.networkmanager.enable = true;
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View File

@ -55,11 +55,6 @@
services.thermald.enable = true;
# Virtualization
#virtualisation.podman.enable = true;
#virtualisation.podman.dockerCompat = true; # alias docker to podman
#virtualisation.oci-containers.backend = "podman"; # default
# Networking
/**/
networking.networkmanager.enable = true;

11
profiles/podman.nix Normal file
View File

@ -0,0 +1,11 @@
{
virtualisation.podman.enable = true;
virtualisation.podman.dockerCompat = true; # alias docker to podman
virtualisation.oci-containers.backend = "podman"; # default
# Required for containers under podman-compose to be able to talk to each other.
#virtualisation.defaultNetwork.settings.dns_enabled = true;
# TODO: if root-on-zfs
#virtualisation.podman.extraPackages = [ pkgs.zfs ];
}