nix/common/home-manager/systemd.nix

12 lines
248 B
Nix

{ pkgs, ... }:
{
systemd.user.services = {
swaylock = {
Unit.Description = "Lock screen on suspend";
Service.ExecStart =
"${pkgs.swaylock}/bin/swaylock -c 000000 -i eDP-1:/home/sijmen/Pictures/vista32.jpg";
};
};
}