From 40aa6a71001395b69a7145096524d4e7e580ad13 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 10 Sep 2017 12:02:50 +0200 Subject: satoshipad: Pass discards through LUKS Don't enable automatic discards though, it can leak some FS information. This way allows me to run `fstrim` if I feel I need to. --- satoshipad.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/satoshipad.nix b/satoshipad.nix index 53784715..fc4b6763 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -38,6 +38,7 @@ boot.initrd.luks.devices = [ { name = "root"; + allowDiscards = true; device = "/dev/disk/by-uuid/bb7f9a24-8963-4d00-9258-118050b35748"; preLVM = true; } -- cgit 1.4.1