From f48f4b432fe49aab4b92afc1c749e48756c8c737 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 25 Sep 2023 21:21:53 +0200 Subject: [PATCH] LUKS --allow-discards --- hosts/yodaNas/configuration.nix | 1 + hosts/yodaTab/configuration.nix | 2 ++ hosts/yodaTux/configuration.nix | 1 + hosts/yodaYoga/configuration.nix | 1 + 4 files changed, 5 insertions(+) diff --git a/hosts/yodaNas/configuration.nix b/hosts/yodaNas/configuration.nix index 5e0ebdf..d49f752 100644 --- a/hosts/yodaNas/configuration.nix +++ b/hosts/yodaNas/configuration.nix @@ -59,6 +59,7 @@ in ]; networking.hostName = "yodaNas"; + #boot.initrd.luks.devices."luks-XXX".allowDiscards = true; boot.kernelParams = []; diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index 19bb298..bb2691a 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -57,6 +57,8 @@ in ]; networking.hostName = "yodaTab"; + boot.initrd.luks.devices."luks-ba8b94d0-7f70-496a-ad87-eadc5e852aad".allowDiscards = true; + boot.initrd.luks.devices."512gb".allowDiscards = true; boot.kernelParams = []; diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 6bf78f5..f87768a 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -57,6 +57,7 @@ in ]; networking.hostName = "yodaTux"; + boot.initrd.luks.devices."luks-ea7099e3-320d-4eb3-a4c3-9910a9af817b".allowDiscards = true; # Systemd Journal entry: # S Sat Sep 23 16:11:52 2023 p4 kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'. diff --git a/hosts/yodaYoga/configuration.nix b/hosts/yodaYoga/configuration.nix index 151b194..8e561fe 100644 --- a/hosts/yodaYoga/configuration.nix +++ b/hosts/yodaYoga/configuration.nix @@ -59,6 +59,7 @@ in ]; networking.hostName = "yodaYoga"; + boot.initrd.luks.devices."luks-a8521407-e25b-4f26-8e7a-a56fcbfd2e35".allowDiscards = true; boot.kernelParams = [];