From 5ef9816a340520fceeeb1ad49a1e0530fa0975d2 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Mon, 23 Sep 2024 23:22:48 +0100 Subject: [PATCH] kilgharrah: enable zfs, luksdev --- hosts/kilgharrah/filesystems.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/kilgharrah/filesystems.nix b/hosts/kilgharrah/filesystems.nix index eb9f0c5..bfc5b10 100644 --- a/hosts/kilgharrah/filesystems.nix +++ b/hosts/kilgharrah/filesystems.nix @@ -2,9 +2,15 @@ { boot.initrd.luks.devices = { - "enc".device = "/dev/disk/by-uuid/b414aaba-0a36-4135-a7e1-dc9489286acd"; + "cryptroot".device = "/dev/disk/by-uuid/b414aaba-0a36-4135-a7e1-dc9489286acd"; }; + boot.supportedFilesystems = [ "zfs" ]; + + environment.etc.crypttab.text = '' + cryptstorage UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key + ''; + fileSystems = { "/" = { device = "/dev/disk/by-uuid/ad4cbc18-8849-40ed-b0bf-097f8f46346b";