Created
June 5, 2023 17:39
-
-
Save pirey/b901fbd13388e5851ffea53a45ce1362 to your computer and use it in GitHub Desktop.
create service in nixos configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.reddit.com/r/NixOS/comments/mwbr8t/comment/gvhm2mh/?utm_source=share&utm_medium=web2x&context=3 | |
systemd.services.touchegg = { | |
enable = true; | |
description = "Touchégg. The daemon."; | |
wantedBy = [ "multi-user.target" ]; | |
serviceConfig = { | |
Type = "simple"; | |
Group = "input"; | |
Restart = "on-failure"; | |
RestartSec = 5; | |
ExecStart = "${pkgs.touchegg}/bin/touchegg --daemon"; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment