[galandor] waycorner service

This commit is contained in:
Chris Cochrun 2026-06-04 13:54:19 -05:00
parent 87a6c647c3
commit 25414b7209

View file

@ -162,6 +162,19 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
systemd.user.services.waycorner = {
enable = true;
after = [ "cosmic-session.target" ];
wantedBy = [ "cosmic-session.target" ];
bindsTo = [ "cosmic-session.target" ];
description = "Hot corners for cosmic";
serviceConfig = {
ExecCondition = "pgrep -xf cosmic-workspaces";
ExecStart = "waycorner";
Restart = "on-failure";
RestartSec = 2;
};
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];