move secrets from flake.nix to host config

This commit is contained in:
2024-08-27 08:50:57 +03:00
parent c2e58f1314
commit 01e86db54c
5 changed files with 55 additions and 63 deletions

View File

@@ -10,9 +10,18 @@ in
../../modules/profiles/btrfs
];
age.secrets.ssh8022-client = {
file = ../../secrets/ssh8022.age;
mode = "444";
age.secrets = {
motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
root-passwd-hash.file = ./secrets/root_passwd_hash.age;
sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
syncthing-key.file = ./secrets/vno1-gdrx/syncthing/key.pem.age;
syncthing-cert.file = ./secrets/vno1-gdrx/syncthing/cert.pem.age;
ssh8022-client = {
file = ../../secrets/ssh8022.age;
mode = "444";
};
};
boot = {