make swaylock work

This commit is contained in:
Schrottkatze 2024-06-17 17:22:03 +02:00
parent f05b49fa81
commit ee44af814e
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -28,6 +28,8 @@
};
};
security.pam.services.swaylock = {};
hardware.usb-modeswitch.enable = true;
systemd.services."ModemManager".enable = true;
systemd.services."ModemManager".wants = ["NetworkManager.service"];

View file

@ -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";