Mount zfs keyfile store

This commit is contained in:
GHOSCHT 2024-08-09 17:58:45 +02:00
parent 4dd1cefb30
commit 2a45f5837e
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -40,6 +40,11 @@ in {
fileSystems."/storage/dataset".options = ["noauto"]; fileSystems."/storage/dataset".options = ["noauto"];
fileSystems."/storage".options = ["noauto"]; fileSystems."/storage".options = ["noauto"];
fileSystems."/home/ghoscht/.zfs" = {
device = "/dev/disk/by-label/SECRET_KEYS";
fsType = "vfat";
};
users.mutableUsers = true; users.mutableUsers = true;
users.users.${vars.user} = { users.users.${vars.user} = {
password = "changeme"; password = "changeme";