summaryrefslogtreecommitdiffstats
path: root/1systems/omo/hw
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-05-28 16:06:05 +0200
committermakefu <github@syntax-fehler.de>2020-05-28 16:06:05 +0200
commitbaac7f3ab3721a47f47b2154bd3a9d14eab2d22b (patch)
treef6bfbee4163e54e2f475c1387cd93e9345492a25 /1systems/omo/hw
parent536381737ea6fde46ea8f99777c969e86c8ba597 (diff)
ma omo.r: enable home-manager zsh config
Diffstat (limited to '1systems/omo/hw')
-rw-r--r--1systems/omo/hw/omo.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/1systems/omo/hw/omo.nix b/1systems/omo/hw/omo.nix
index 87af2a314..586ad98c4 100644
--- a/1systems/omo/hw/omo.nix
+++ b/1systems/omo/hw/omo.nix
@@ -80,18 +80,19 @@ in {
boot = {
initrd.luks = {
devices = let
- usbkey = name: device: {
- inherit name device keyFile;
+ usbkey = device: {
+ inherit device keyFile;
keyFileSize = 4096;
allowDiscards = true;
};
- in [
- (usbkey "luksroot" rootPartition)
- (usbkey "crypt0" cryptDisk0)
- (usbkey "crypt1" cryptDisk1)
- (usbkey "crypt2" cryptDisk2)
- (usbkey "crypt3" cryptDisk3)
- ];
+ in
+ {
+ luksroot = usbkey rootPartition;
+ crypt0 = usbkey cryptDisk0;
+ crypt1 = usbkey cryptDisk1;
+ crypt2 = usbkey cryptDisk2;
+ crypt3 = usbkey cryptDisk3;
+ };
};
loader.grub.device = lib.mkForce rootDisk;