diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-02-26 09:48:50 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-02-26 09:48:50 +0530 |
commit | 8ceea2bef872df0b395e5900f490063bbfb60b12 (patch) | |
tree | 6517d5292ece3f0609165bc1859c889f3fa55980 | |
parent | a11c19a1669d9961ffeb61365e08b50d5ef3d3b5 (diff) |
home/common/ssh: init
-rw-r--r-- | home/common/home.nix | 1 | ||||
-rw-r--r-- | home/common/modules/ssh.nix | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/home/common/home.nix b/home/common/home.nix index 41683a1..137a967 100644 --- a/home/common/home.nix +++ b/home/common/home.nix @@ -8,6 +8,7 @@ in { ./modules/xdgdirs.nix ./modules/mimeapps.nix ./modules/xdg_ninja.nix + ./modules/ssh.nix ]; programs.home-manager.enable = true; diff --git a/home/common/modules/ssh.nix b/home/common/modules/ssh.nix new file mode 100644 index 0000000..5c54f44 --- /dev/null +++ b/home/common/modules/ssh.nix @@ -0,0 +1,13 @@ +{ config, ... }: let + domain = config.global.userdata.domain; +in { + programs.ssh = { + enable = true; + compression = true; + + extraConfig = '' + Host kay + HostName ${domain} + ''; + }; +} |