From 2a45f5837e54aa26b3048c23307dcfed5a97f2e6 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:58:45 +0200 Subject: [PATCH] Mount zfs keyfile store --- hosts/franz/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/franz/default.nix b/hosts/franz/default.nix index f30a5fe..68ec74c 100644 --- a/hosts/franz/default.nix +++ b/hosts/franz/default.nix @@ -40,6 +40,11 @@ in { fileSystems."/storage/dataset".options = ["noauto"]; fileSystems."/storage".options = ["noauto"]; + fileSystems."/home/ghoscht/.zfs" = { + device = "/dev/disk/by-label/SECRET_KEYS"; + fsType = "vfat"; + }; + users.mutableUsers = true; users.users.${vars.user} = { password = "changeme";