nix-da/home/graphical/swww.nix

16 lines
356 B
Nix

{ pkgs, ... }:
{
systemd.user.services.swww = {
Install.WantedBy = [ "graphical-session.target" ];
Unit = {
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.swww}/bin/swww-daemon";
Restart = "on-failure";
};
};
}