Replace podman with docker(temp?)
This commit is contained in:
parent
e19ac0a101
commit
fc589d08e3
|
@ -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";
|
||||||
|
|
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue