summary refs log tree commit diff
path: root/nixos/modules/system/boot/luksroot.nix
diff options
context:
space:
mode:
authorMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-07-01 23:37:07 +0200
committerMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-07-01 23:37:07 +0200
commit8e48b24d7665e08965170cedb916b253926a3474 (patch)
tree20198d949e8ac73e4e36068aa7e66cc6a98eec3a /nixos/modules/system/boot/luksroot.nix
parent2356a2582931681d44317914517a59fb3831e1f5 (diff)
downloadnixpkgs-8e48b24d7665e08965170cedb916b253926a3474.tar
nixpkgs-8e48b24d7665e08965170cedb916b253926a3474.tar.gz
nixpkgs-8e48b24d7665e08965170cedb916b253926a3474.tar.bz2
nixpkgs-8e48b24d7665e08965170cedb916b253926a3474.tar.lz
nixpkgs-8e48b24d7665e08965170cedb916b253926a3474.tar.xz
nixpkgs-8e48b24d7665e08965170cedb916b253926a3474.tar.zst
nixpkgs-8e48b24d7665e08965170cedb916b253926a3474.zip
modules/luksroot: add note about AE to allowDiscards
Diffstat (limited to 'nixos/modules/system/boot/luksroot.nix')
-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 8c82b4bcf5d..f87d3b07a36 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).
             '';
           };