add mount for gitea runner
This commit is contained in:
parent
4d6118a021
commit
7c759b702f
1 changed files with 4 additions and 2 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue