about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorK9002024-06-23 17:52:53 +0300
committerGitHub2024-06-23 17:52:53 +0300
commitfd7e20b819da6422a7ce12c6d5a93d24b9b95849 (patch)
treec539818581503674e41dfb7ca521f2068bb25f95 /nixos/modules
parentbe54c7d931a68ba6a79f097ce979288e90a74288 (diff)
parentcc5ee2d6214a9a41655504ecac04cf51c777a56d (diff)
Merge pull request #321944 from K900/allow-null-password
nixos/plasma6: allow null password for screen lock
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/desktop-managers/plasma6.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/modules/services/desktop-managers/plasma6.nix b/nixos/modules/services/desktop-managers/plasma6.nix
index d4f961254f02..796e24286f9e 100644
--- a/nixos/modules/services/desktop-managers/plasma6.nix
+++ b/nixos/modules/services/desktop-managers/plasma6.nix
@@ -264,9 +264,12 @@ in {
         enable = true;
         package = kdePackages.kwallet-pam;
       };
-      kde.kwallet = {
-        enable = true;
-        package = kdePackages.kwallet-pam;
+      kde = {
+        allowNullPassword = true;
+        kwallet = {
+          enable = true;
+          package = kdePackages.kwallet-pam;
+        };
       };
       kde-fingerprint = lib.mkIf config.services.fprintd.enable { fprintAuth = true; };
       kde-smartcard = lib.mkIf config.security.pam.p11.enable { p11Auth = true; };