vno1-rp3b: move datapool-passphrase to /etc

This commit is contained in:
Motiejus Jakštys 2023-09-11 13:02:15 +03:00
parent 3f341ed3df
commit ae7b12a04f
4 changed files with 7 additions and 1 deletions

View File

@ -88,6 +88,8 @@
age.secrets.motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
age.secrets.root-passwd-hash.file = ./secrets/root_passwd_hash.age;
age.secrets.sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
age.secrets.datapool-passphrase.file = ./secrets/vno1-rp3b/datapool-passphrase.age;
}
];

View File

@ -91,6 +91,10 @@
services.journald.extraConfig = "Storage=volatile";
environment.etc = {
"datapool-passphrase.txt".source = config.age.secrets.datapool-passphrase.path;
};
environment.systemPackages = with pkgs; [
libraspberrypi
];

View File

@ -37,7 +37,7 @@ in
"secrets/vno1-oh2/zfs-passphrase.age"
]
// mk ([vno1-rp3b] ++ motiejus) [
"secrets/vno1-rp3b/datadisk-passphrase.age"
"secrets/vno1-rp3b/datapool-passphrase.age"
]
// mk (systems ++ motiejus) [
"secrets/motiejus_passwd_hash.age"