summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r--accounts/gkleen@sif/default.nix2
-rw-r--r--accounts/gkleen@sif/systemd.nix7
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
3with lib; 3with 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, ... }:
2let 2let
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"];