1 2 3 4
{...}: { # otherwise swaylock can't access the user password. security.pam.services.swaylock = {}; }