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 | |
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')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 | ||||
-rw-r--r-- | accounts/gkleen@sif/systemd.nix | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 6b6c7e59..23d2d9d0 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { flake, flakeInputs, userName, pkgs, customUtils, lib, config, sources, ... }@inputs: | 1 | { flake, flakeInputs, userName, pkgs, customUtils, lib, config, utils, sources, ... }@inputs: |
2 | 2 | ||
3 | with lib; | 3 | with lib; |
4 | 4 | ||
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"]; |