fix swaylock

This commit is contained in:
Nathan McCarty 2023-06-17 01:45:20 -04:00
parent 4975bb0467
commit 0c2f1e67db
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ in with lib; {
hidpi = false;
};
};
# Make swaylock work
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.swaylock = { };
environment.sessionVariables = { MOZ_ENABLE_WAYLAND = "1"; };