fix: owner and group of radicale file

This commit is contained in:
Noa Aarts 2024-10-22 09:03:48 +02:00
parent 3210393968
commit 4747eb5d2d
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -138,10 +138,14 @@
age = { age = {
identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ]; identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ];
secrets = { secrets = {
"secrets/token-flurry".file = ../../secrets/github/flurry.age; "token-flurry".file = ../../secrets/github/flurry.age;
"secrets/token-nixconf".file = ../../secrets/github/nixconf.age; "token-nixconf".file = ../../secrets/github/nixconf.age;
"secrets/nix-store-key".file = ../../secrets/nix-serve/private.age; "nix-store-key".file = ../../secrets/nix-serve/private.age;
"secrets/radicale".file = ../../secrets/radicale/htpasswd.age; "radicale" = {
file = ../../secrets/radicale/htpasswd.age;
owner = "radicale";
group = "radicale";
};
}; };
}; };
@ -149,7 +153,7 @@
nix-serve = { nix-serve = {
enable = true; enable = true;
package = pkgs.nix-serve-ng; package = pkgs.nix-serve-ng;
secretKeyFile = config.age.secrets."secrets/nix-store-key".path; secretKeyFile = config.age.secrets."nix-store-key".path;
port = 22332; port = 22332;
}; };
github-runners = { github-runners = {
@ -160,7 +164,7 @@
curl curl
]; ];
name = "flurry-runner"; name = "flurry-runner";
tokenFile = config.age.secrets."secrets/token-flurry".path; tokenFile = config.age.secrets."token-flurry".path;
url = "https://github.com/itepastra/flurry"; url = "https://github.com/itepastra/flurry";
}; };
}; };
@ -175,7 +179,7 @@
server.hosts = [ "[::1]:29341" ]; server.hosts = [ "[::1]:29341" ];
auth = { auth = {
type = "htpasswd"; type = "htpasswd";
htpasswd_filename = config.age.secrets."secrets/radicale".path; htpasswd_filename = config.age.secrets."radicale".path;
htpasswd_encryption = "bcrypt"; htpasswd_encryption = "bcrypt";
}; };
}; };