From db80d03091b5a81922c67056a6f0c4a0f25165b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 7 Oct 2025 01:38:49 +0200 Subject: [PATCH] nixos/pam: do not define an empty supportedFilesystems list this shows up in options.boot.supportedFilesystems.definitionsWithLocations and makes debugging harder --- nixos/modules/security/pam.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 61b39cb8e2cf..c10449454c50 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -2298,7 +2298,7 @@ in ++ lib.optionals config.security.pam.enableFscrypt [ pkgs.fscrypt-experimental ] ++ lib.optionals config.security.pam.u2f.enable [ pkgs.pam_u2f ]; - boot.supportedFilesystems = lib.optionals config.security.pam.enableEcryptfs [ "ecryptfs" ]; + boot.supportedFilesystems = lib.mkIf config.security.pam.enableEcryptfs [ "ecryptfs" ]; security.wrappers = { unix_chkpwd = {