2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-22 04:07:28 +01:00

Replace podman with docker(temp?)

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

View File

@ -97,6 +97,18 @@
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 ];
system.stateVersion = "22.11";

View File

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