about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-12 17:45:51 +0100
committerene <ene@sils.li>2023-02-12 17:48:18 +0100
commitb78ff93da48d0c07b9ba2f6c967bd1e1a5446bfb (patch)
tree1d2f0cf29e9a028073cd6bb2d0f198973f4d2ec0 /home-manager
parentFeat(home-manager): Add river (diff)
downloadnixos-config-b78ff93da48d0c07b9ba2f6c967bd1e1a5446bfb.tar.gz
nixos-config-b78ff93da48d0c07b9ba2f6c967bd1e1a5446bfb.zip
Feat(home-manager): Add ssh
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/ssh/config2
-rw-r--r--home-manager/ssh/default.nix10
2 files changed, 12 insertions, 0 deletions
diff --git a/home-manager/ssh/config b/home-manager/ssh/config
new file mode 100644
index 00000000..aa234e74
--- /dev/null
+++ b/home-manager/ssh/config
@@ -0,0 +1,2 @@
+Host *
+  ServerAliveInterval 240
diff --git a/home-manager/ssh/default.nix b/home-manager/ssh/default.nix
new file mode 100644
index 00000000..d0de7f13
--- /dev/null
+++ b/home-manager/ssh/default.nix
@@ -0,0 +1,10 @@
+{
+  config,
+  pkgs,
+  ...
+}: {
+  xdg.configFile."river/init".source = ./init;
+  xdg.configFile."river/res".source = ./res;
+}
+# vim: ts=2
+