From 33c951625f2390ffe2240c6b773d18c5af615ec1 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 7 Sep 2023 08:36:24 +0400 Subject: [PATCH] fix swaylock --- modules/desktop/hyprland/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 9e2cc839..825c9c77 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -112,5 +112,13 @@ in }; }; }; + + # swaylock doesnt work without this + security.pam.services.swaylock.text = '' + # PAM configuration file for the swaylock screen locker. By default, it includes + # the 'login' configuration file (see /etc/pam.d/login) + auth include login + ''; + }; }