diff options
Diffstat (limited to 'features/user/cli/utils/ssh.nix')
| -rw-r--r-- | features/user/cli/utils/ssh.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/features/user/cli/utils/ssh.nix b/features/user/cli/utils/ssh.nix new file mode 100644 index 0000000..f10d0b2 --- /dev/null +++ b/features/user/cli/utils/ssh.nix @@ -0,0 +1,20 @@ +{ config, lib, ... }: let + cfg = config.features.cli.utils.ssh; +in { + options.features.cli.utils.ssh.enable = lib.mkEnableOption "ssh"; + config = lib.mkIf cfg.enable { + programs.ssh = { + enable = true; + matchBlocks = { + "culsans.site" = { + hostname = "culsans.site"; + user = "server"; + port = 2200; + }; + "git.culsans.site" = { + hostname = "culsans.site"; + }; + }; + }; + }; +} |
