From c5855985a4b2494f1acdc99c3e2024e758b25759 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 13 Aug 2024 11:12:36 +0200 Subject: ... --- accounts/gkleen@sif/systemd.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/systemd.nix') diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix index e5d1681c..5608b833 100644 --- a/accounts/gkleen@sif/systemd.nix +++ b/accounts/gkleen@sif/systemd.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, userName, ... }: +{ pkgs, lib, config, utils, userName, ... }: let inherit (lib) listToAttrs nameValuePair; @@ -205,6 +205,11 @@ in { RuntimeDirectory = "swayidle"; }; }; + poweralertd = { + Service = { + ExecStart = lib.mkForce "${lib.getExe pkgs.poweralertd} ${utils.escapeSystemdExecArgs ["-i" "mouse"]}"; + }; + }; } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" { Unit = { Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"]; -- cgit v1.2.3