diff options
author | Alan Pearce | 2017-09-10 12:02:50 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-10 12:02:50 +0200 |
commit | 40aa6a71001395b69a7145096524d4e7e580ad13 (patch) | |
tree | 079cfdbf827f28f9a9e0d6c76e6085700e74b978 | |
parent | a8247a03c426c9d62be3231742084ae2d4e257c7 (diff) | |
download | nixos-configuration-40aa6a71001395b69a7145096524d4e7e580ad13.tar.lz nixos-configuration-40aa6a71001395b69a7145096524d4e7e580ad13.tar.zst nixos-configuration-40aa6a71001395b69a7145096524d4e7e580ad13.zip |
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.
-rw-r--r-- | satoshipad.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/satoshipad.nix b/satoshipad.nix index 5378471..fc4b676 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; } |