vno1-rp3b: move datapool-passphrase to /etc
This commit is contained in:
parent
3f341ed3df
commit
ae7b12a04f
@ -88,6 +88,8 @@
|
|||||||
age.secrets.motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
|
age.secrets.motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
|
||||||
age.secrets.root-passwd-hash.file = ./secrets/root_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.sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
|
||||||
|
|
||||||
|
age.secrets.datapool-passphrase.file = ./secrets/vno1-rp3b/datapool-passphrase.age;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -91,6 +91,10 @@
|
|||||||
|
|
||||||
services.journald.extraConfig = "Storage=volatile";
|
services.journald.extraConfig = "Storage=volatile";
|
||||||
|
|
||||||
|
environment.etc = {
|
||||||
|
"datapool-passphrase.txt".source = config.age.secrets.datapool-passphrase.path;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
libraspberrypi
|
libraspberrypi
|
||||||
];
|
];
|
||||||
|
@ -37,7 +37,7 @@ in
|
|||||||
"secrets/vno1-oh2/zfs-passphrase.age"
|
"secrets/vno1-oh2/zfs-passphrase.age"
|
||||||
]
|
]
|
||||||
// mk ([vno1-rp3b] ++ motiejus) [
|
// mk ([vno1-rp3b] ++ motiejus) [
|
||||||
"secrets/vno1-rp3b/datadisk-passphrase.age"
|
"secrets/vno1-rp3b/datapool-passphrase.age"
|
||||||
]
|
]
|
||||||
// mk (systems ++ motiejus) [
|
// mk (systems ++ motiejus) [
|
||||||
"secrets/motiejus_passwd_hash.age"
|
"secrets/motiejus_passwd_hash.age"
|
||||||
|
Loading…
Reference in New Issue
Block a user