all repos — nixfiles @ 40aa6a71001395b69a7145096524d4e7e580ad13

System and user configuration, managed by nix and home-manager

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.
Alan Pearce alan@alanpearce.eu
Sun, 10 Sep 2017 12:02:50 +0200
commit

40aa6a71001395b69a7145096524d4e7e580ad13

parent

a8247a03c426c9d62be3231742084ae2d4e257c7

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M satoshipad.nixsatoshipad.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;
     }