summaryrefslogtreecommitdiffstats
path: root/tv/2configs/ssh.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-14 12:18:45 +0200
committerlassulus <git@lassul.us>2023-09-14 12:18:45 +0200
commit4820fc27cdc44a12b57d52c5fb7a932407d765a1 (patch)
tree3a31e612fe6141c1079a7fee37db1bb80486ac33 /tv/2configs/ssh.nix
parentd5305cdab1eadfe972ae0d1adc94192bb62ca6bc (diff)
parent1e03553fe6058d06c00a6c92e0ef486282057595 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/ssh.nix')
-rw-r--r--tv/2configs/ssh.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/tv/2configs/ssh.nix b/tv/2configs/ssh.nix
deleted file mode 100644
index ad828813..00000000
--- a/tv/2configs/ssh.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-with import ./lib;
-{ config, pkgs, ... }: {
- # Override NixOS's "Allow DSA keys for now."
- environment.etc."ssh/ssh_config".text = mkForce ''
- AddressFamily ${if config.networking.enableIPv6 then "any" else "inet"}
-
- ${optionalString config.programs.ssh.setXAuthLocation ''
- XAuthLocation ${pkgs.xorg.xauth}/bin/xauth
- ''}
-
- ForwardX11 ${if config.programs.ssh.forwardX11 then "yes" else "no"}
-
- ${config.programs.ssh.extraConfig}
- '';
-
- programs.ssh = {
- extraConfig = ''
- UseRoaming no
- '';
- startAgent = false;
- };
-}