summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/systemd.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-12 14:31:26 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-12 14:31:26 +0200
commit3b4f9240fb6393c693b2a8ad99f20309cc48c26d (patch)
tree7c06a8433f7ecb6247e8091915bddeb932968fb0 /accounts/gkleen@sif/systemd.nix
parent6fc314254a10ea2e6f042ce91deb1459b60d0674 (diff)
downloadnixos-3b4f9240fb6393c693b2a8ad99f20309cc48c26d.tar
nixos-3b4f9240fb6393c693b2a8ad99f20309cc48c26d.tar.gz
nixos-3b4f9240fb6393c693b2a8ad99f20309cc48c26d.tar.bz2
nixos-3b4f9240fb6393c693b2a8ad99f20309cc48c26d.tar.xz
nixos-3b4f9240fb6393c693b2a8ad99f20309cc48c26d.zip
...
Diffstat (limited to 'accounts/gkleen@sif/systemd.nix')
-rw-r--r--accounts/gkleen@sif/systemd.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix
index 20f10cb1..e5d1681c 100644
--- a/accounts/gkleen@sif/systemd.nix
+++ b/accounts/gkleen@sif/systemd.nix
@@ -200,6 +200,11 @@ in {
200 StopWhenUnneeded = true; 200 StopWhenUnneeded = true;
201 }; 201 };
202 }; 202 };
203 swayidle = {
204 Service = {
205 RuntimeDirectory = "swayidle";
206 };
207 };
203 } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" { 208 } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" {
204 Unit = { 209 Unit = {
205 Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"]; 210 Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"];