fix(secrets): fix permissions

Also moves key references into respective configs where they are used.
This commit is contained in:
Felix Schröter 2022-05-06 03:16:17 +02:00
parent 7f3a5317bd
commit 0dee8b4fa7
Signed by: felschr
GPG key ID: 671E39E6744C807D
15 changed files with 125 additions and 96 deletions

View file

@ -32,6 +32,13 @@ in with builtins; {
./services/nextcloud.nix
];
age.secrets.cfdyndns = {
file = ./secrets/cfdyndns.age;
owner = "cfdyndns";
group = "cfdyndns";
};
age.secrets.hostKey.file = ./secrets/home-server/hostKey.age;
nixpkgs.config.allowUnfree = true;
# rpi4 base config