diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-13 11:12:36 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-13 11:12:36 +0200 |
commit | c5855985a4b2494f1acdc99c3e2024e758b25759 (patch) | |
tree | 6c1a789b7ea08be75b901610f018dd6be647a88a /accounts/gkleen@sif/systemd.nix | |
parent | eaaa07bbef3bfdef52495da004183846c105b876 (diff) | |
download | nixos-c5855985a4b2494f1acdc99c3e2024e758b25759.tar nixos-c5855985a4b2494f1acdc99c3e2024e758b25759.tar.gz nixos-c5855985a4b2494f1acdc99c3e2024e758b25759.tar.bz2 nixos-c5855985a4b2494f1acdc99c3e2024e758b25759.tar.xz nixos-c5855985a4b2494f1acdc99c3e2024e758b25759.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/systemd.nix')
-rw-r--r-- | accounts/gkleen@sif/systemd.nix | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
1 | { pkgs, lib, config, userName, ... }: | 1 | { pkgs, lib, config, utils, userName, ... }: |
2 | let | 2 | let |
3 | inherit (lib) listToAttrs nameValuePair; | 3 | inherit (lib) listToAttrs nameValuePair; |
4 | 4 | ||
@@ -205,6 +205,11 @@ in { | |||
205 | RuntimeDirectory = "swayidle"; | 205 | RuntimeDirectory = "swayidle"; |
206 | }; | 206 | }; |
207 | }; | 207 | }; |
208 | poweralertd = { | ||
209 | Service = { | ||
210 | ExecStart = lib.mkForce "${lib.getExe pkgs.poweralertd} ${utils.escapeSystemdExecArgs ["-i" "mouse"]}"; | ||
211 | }; | ||
212 | }; | ||
208 | } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" { | 213 | } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" { |
209 | Unit = { | 214 | Unit = { |
210 | Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"]; | 215 | Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"]; |