1
Fork 0

Podman => docker

This commit is contained in:
prescientmoon 2024-06-11 11:37:14 +02:00
parent 873455563b
commit b2501ef913
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
5 changed files with 14 additions and 12 deletions

View file

@ -1,12 +1,5 @@
{ {
virtualisation = { virtualisation.oci-containers.backend = "docker";
# podman = {
# enable = true;
# dockerCompat = true;
# };
oci-containers.backend = "docker";
};
environment.persistence = { environment.persistence = {

View file

@ -5,7 +5,10 @@ let
dataDir = "/persist/state/var/lib/actual"; dataDir = "/persist/state/var/lib/actual";
in in
{ {
imports = [ ../../common/optional/services/nginx.nix ]; imports = [
../../common/optional/services/nginx.nix
../../common/optional/oci.nix
];
services.nginx.virtualHosts.${host} = config.satellite.proxy port { }; services.nginx.virtualHosts.${host} = config.satellite.proxy port { };
systemd.tmpfiles.rules = [ "d ${dataDir}" ]; systemd.tmpfiles.rules = [ "d ${dataDir}" ];

View file

@ -5,7 +5,10 @@ let
dataDir = "/persist/state/var/lib/commafeed"; dataDir = "/persist/state/var/lib/commafeed";
in in
{ {
imports = [ ../../common/optional/services/nginx.nix ]; imports = [
../../common/optional/services/nginx.nix
../../common/optional/oci.nix
];
systemd.tmpfiles.rules = [ "d ${dataDir}" ]; systemd.tmpfiles.rules = [ "d ${dataDir}" ];
services.nginx.virtualHosts.${host} = config.satellite.proxy port services.nginx.virtualHosts.${host} = config.satellite.proxy port

View file

@ -8,7 +8,10 @@ let
configDir = "/persist/state/var/lib/qbittorrent"; configDir = "/persist/state/var/lib/qbittorrent";
in in
{ {
imports = [ ../../common/optional/services/nginx.nix ]; imports = [
../../common/optional/services/nginx.nix
../../common/optional/oci.nix
];
sops.secrets.vpn_env.sopsFile = ../secrets.yaml; sops.secrets.vpn_env.sopsFile = ../secrets.yaml;

View file

@ -16,8 +16,8 @@ let
in in
{ {
imports = [ imports = [
../../common/optional/podman.nix
../../common/optional/services/nginx.nix ../../common/optional/services/nginx.nix
../../common/optional/oci.nix
]; ];
virtualisation.oci-containers.containers.whoogle-search = { virtualisation.oci-containers.containers.whoogle-search = {