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/default.nix | 2 +- accounts/gkleen@sif/systemd.nix | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'accounts') 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 @@ -{ flake, flakeInputs, userName, pkgs, customUtils, lib, config, sources, ... }@inputs: +{ flake, flakeInputs, userName, pkgs, customUtils, lib, config, utils, sources, ... }@inputs: with lib; 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