Deploy the davfs2 secrets to /etc

This commit is contained in:
Andreas Zweili 2023-01-23 09:40:35 +01:00
parent 3472dcc012
commit 1db7fbfeb3
1 changed files with 1 additions and 3 deletions

View File

@ -1,10 +1,8 @@
{ custom }: { ... }: {
age.secrets.webdavSecrets = {
file = "${custom.inputs.self}/scrts/webdav_andreas.age";
path = "/home/${custom.username}/.davfs2/secrets";
path = "/etc/davfs2/secrets";
mode = "600";
owner = custom.username;
group = "users";
};
services.davfs2 = {
enable = true;