make swaylock work

This commit is contained in:
Schrottkatze 2024-06-17 17:22:03 +02:00
parent f05b49fa81
commit ee44af814e
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
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";