From ee44af814e6eafc5006e7c34ade4fe5253b25581 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Mon, 17 Jun 2024 17:22:03 +0200 Subject: [PATCH] make swaylock work --- hosts/catbook-j/configuration.nix | 2 ++ modules/desktop/x.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/catbook-j/configuration.nix b/hosts/catbook-j/configuration.nix index a380743..79de2e1 100644 --- a/hosts/catbook-j/configuration.nix +++ b/hosts/catbook-j/configuration.nix @@ -28,6 +28,8 @@ }; }; + security.pam.services.swaylock = {}; + hardware.usb-modeswitch.enable = true; systemd.services."ModemManager".enable = true; systemd.services."ModemManager".wants = ["NetworkManager.service"]; diff --git a/modules/desktop/x.nix b/modules/desktop/x.nix index 8ea697b..00178fb 100644 --- a/modules/desktop/x.nix +++ b/modules/desktop/x.nix @@ -20,7 +20,7 @@ }; security.polkit.enable = true; - # programs.sway.enable = true; + programs.sway.enable = true; # services.displayManager.defaultSession = "none+xmonad"; services.displayManager.defaultSession = "sway";