Podman => docker
This commit is contained in:
parent
873455563b
commit
b2501ef913
|
@ -1,12 +1,5 @@
|
||||||
{
|
{
|
||||||
virtualisation = {
|
virtualisation.oci-containers.backend = "docker";
|
||||||
# podman = {
|
|
||||||
# enable = true;
|
|
||||||
# dockerCompat = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
oci-containers.backend = "docker";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
environment.persistence = {
|
environment.persistence = {
|
|
@ -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}" ];
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue