From 87782b86228b36e54edafb1ff402fdaa77ad2864 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 17 Aug 2024 22:43:16 +0200 Subject: [PATCH] feat: add swaylock pam rule --- config.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.scm b/config.scm index cba151b..aa67942 100644 --- a/config.scm +++ b/config.scm @@ -9,6 +9,7 @@ (gnu) (gnu system nss) (guix utils) + (gnu packages wm) (gnu services sound) (gnu packages vim) (gnu packages wget) @@ -100,6 +101,13 @@ (service nix-service-type) (service power-profiles-daemon-service-type) + (service screen-locker-service-type + (screen-locker-configuration + (name "swaylock") + (program (file-append swaylock "/bin/swaylock")) + (using-pam? #t) + (using-setuid? #f))) + (service pam-limits-service-type (list (pam-limits-entry "@wheel" 'both 'core 'unlimited))) @@ -145,3 +153,5 @@ ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) +;; TODO syncthing +;; udev rules, could nix fpga stuff work? -- 2.48.1