add mount for gitea runner
This commit is contained in:
@@ -48,8 +48,6 @@ in
|
|||||||
hostPath = "/var/lib/gitea/";
|
hostPath = "/var/lib/gitea/";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
bindMounts = {
|
|
||||||
"/var/lib/acme/gitea/" = {
|
"/var/lib/acme/gitea/" = {
|
||||||
hostPath = "${config.security.acme.certs.${domain}.directory}";
|
hostPath = "${config.security.acme.certs.${domain}.directory}";
|
||||||
isReadOnly = true;
|
isReadOnly = true;
|
||||||
@@ -133,6 +131,10 @@ in
|
|||||||
hostPath = config.sops.secrets.gitea-runner-token.path;
|
hostPath = config.sops.secrets.gitea-runner-token.path;
|
||||||
isReadOnly = true;
|
isReadOnly = true;
|
||||||
};
|
};
|
||||||
|
"/var/lib/gitea-runner" = {
|
||||||
|
hostPath = "/var/lib/gitea-runner/";
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
config = { lib, config, pkgs, ... }: {
|
config = { lib, config, pkgs, ... }: {
|
||||||
networking = {
|
networking = {
|
||||||
|
|||||||
Reference in New Issue
Block a user