Replace podman with docker(temp?)

This commit is contained in:
Felix Albrigtsen 2023-06-09 00:46:54 +02:00
parent a3ed3ca98d
commit 05d39eeafc
2 changed files with 14 additions and 1 deletions

View File

@ -97,6 +97,18 @@
exa exa
]; ];
/* virtualisation.podman = { */
/* enable = true; */
/* dockerCompat = true; # Make `docker` shell alias */
/* defaultNetwork.settings.dns_enabled = true; */
/* }; */
/* virtualisation.oci-containers.backend = "podman"; */
virtualisation.docker.enable = true;
virtualisation.oci-containers.backend = "docker";
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
system.stateVersion = "22.11"; system.stateVersion = "22.11";

View File

@ -43,7 +43,8 @@ in {
config.sops.secrets."transmission/vpncreds".path config.sops.secrets."transmission/vpncreds".path
]; ];
extraOptions = [ extraOptions = [
"--cap-add=net_admin,net_raw,mknod" /* "--cap-add=net_admin,net_raw,mknod" */
"--cap-add=NET_ADMIN"
"--device=/dev/net/tun" "--device=/dev/net/tun"
]; ];
}; };