mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
vicinae
This commit is contained in:
@@ -34,7 +34,7 @@ in
|
||||
|
||||
Service = {
|
||||
Type = "forking";
|
||||
ExecStart = "${lib.getExe pkgs.swaylock} -f";
|
||||
ExecStart = "${lib.getExe pkgs.swaylock} -f -i %h/.wallpapers/28.jpg";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 0;
|
||||
};
|
||||
|
||||
@@ -14,8 +14,6 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.systemd-lock-handler.enable = true;
|
||||
|
||||
# Screen unlocking deliberately uses passwords only. Fingerprints remain
|
||||
# available to explicitly enabled PAM services such as sudo and polkit.
|
||||
security.pam.services.swaylock.fprintAuth = false;
|
||||
security.pam.services.swaylock.fprintAuth = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user