home: set swayosd and swayidle as wanted by hyprland and sway

This commit is contained in:
Aly Raffauf 2024-08-02 15:37:22 -04:00
parent 2c6cf6e300
commit deb5a43eee
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,8 @@
swayosd.enable = lib.mkDefault true;
};
systemd.user.services.swayosd.Install.WantedBy = [ "hyprland-session.target" "sway-session.target" ];
xdg.portal = {
enable = true;
configPackages =

View file

@ -58,5 +58,7 @@ in {
command = "${swaymsg} \"output * dpms off\"' resume '${swaymsg} \"output * dpms on\"";
};
};
systemd.user.services.swayidle.Service.Restart = lib.mkForce "on-failure";
};
}