about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-07-03 01:47:38 +0100
committerGitHub <noreply@github.com>2021-07-03 01:47:38 +0100
commit4670c25e3d078ad1feb378dbaae20a2df0a1edec (patch)
tree40937b74e032e9cdbdfbce171b04d2034cc82c29 /nixos
parent1de702085887e1f015a57bd461d8a7bf113e57b2 (diff)
parent8e48b24d7665e08965170cedb916b253926a3474 (diff)
downloadnixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.tar
nixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.tar.gz
nixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.tar.bz2
nixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.tar.lz
nixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.tar.xz
nixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.tar.zst
nixlib-4670c25e3d078ad1feb378dbaae20a2df0a1edec.zip
Merge pull request #128920 from wamserma/luks-trim-ae-note
nixos/luksroot: add note about AE to allowDiscards
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/luksroot.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index 8c82b4bcf5db..f87d3b07a360 100644
--- a/nixos/modules/system/boot/luksroot.nix
+++ b/nixos/modules/system/boot/luksroot.nix
@@ -621,6 +621,8 @@ in
               Whether to allow TRIM requests to the underlying device. This option
               has security implications; please read the LUKS documentation before
               activating it.
+              This option is incompatible with authenticated encryption (dm-crypt
+              stacked over dm-integrity).
             '';
           };