move the secrets to its own folder
This commit is contained in:
parent
d7659df192
commit
47916c423b
2 changed files with 6 additions and 6 deletions
|
|
@ -50,6 +50,12 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
nssTools
|
||||
];
|
||||
age.secrets.cloudflare = {
|
||||
file = ../secrets/cloudflare.age;
|
||||
path = "/etc/caddy/.env";
|
||||
owner = "caddy";
|
||||
mode = "0600";
|
||||
};
|
||||
|
||||
systemd.services.caddy.serviceConfig = {
|
||||
EnvironmentFile = "/etc/caddy/.env";
|
||||
|
|
|
|||
|
|
@ -34,12 +34,6 @@
|
|||
owner = "osbm";
|
||||
mode = "0644";
|
||||
};
|
||||
cloudflare = {
|
||||
file = ../secrets/cloudflare.age;
|
||||
path = "/etc/caddy/.env";
|
||||
owner = "caddy";
|
||||
mode = "0600";
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue