From a0b6affc94c74da2ae5d7fedc274b36d05131ace Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 12 Apr 2023 12:16:36 +0200 Subject: Fix(hm/conf/swaylock): Pam permission issue --- system/services/default.nix | 1 + system/services/swaylock/default.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 system/services/swaylock/default.nix (limited to 'system') diff --git a/system/services/default.nix b/system/services/default.nix index 2365fde5..cb5616d0 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -7,5 +7,6 @@ ./dconf ./openssh ./backup + ./swaylock ]; } diff --git a/system/services/swaylock/default.nix b/system/services/swaylock/default.nix new file mode 100644 index 00000000..1d652c66 --- /dev/null +++ b/system/services/swaylock/default.nix @@ -0,0 +1,5 @@ +# vim: ts=2 +{...}: { + # otherwise swaylock can't access the user password. + security.pam.services.swaylock = {}; +} -- cgit 1.4.1