diff options
-rw-r--r-- | lib/ssh.nix | 1 | ||||
-rw-r--r-- | profiles/darwin.nix | 31 |
2 files changed, 5 insertions, 27 deletions
diff --git a/lib/ssh.nix b/lib/ssh.nix index b641dd5..2d1ab46 100644 --- a/lib/ssh.nix +++ b/lib/ssh.nix @@ -24,7 +24,6 @@ in { extraOptions = { #"RemoteCommand" = "tmux -CC new -As0"; "RequestTTY" = "force"; - "LocalForward" = "8888 127.0.0.1:8888"; }; }; diff --git a/profiles/darwin.nix b/profiles/darwin.nix index bcee565..ddc191a 100644 --- a/profiles/darwin.nix +++ b/profiles/darwin.nix @@ -2,45 +2,24 @@ let homedir = builtins.getEnv "HOME"; - #haskellOverlay = self: super: { - # haskellPackages = super.haskellPackages.override (old: { - # overrides = self: super: { - # hledger = self.callPackage ./pkgs/hledger-1.19.1.nix {}; - # hledger-lib = self.callPackage ./pkgs/hledger-lib-1.19.1.nix {}; - # }; - # }); - #}; in { - nixpkgs.overlays = [ - #haskellOverlay - ]; - imports = [ ../lib/common.nix - #../lib/email.nix ../lib/emacs.nix ../lib/ssh.nix ]; home = { packages = with pkgs; [ - #muchsync - #(haskellPackages.ghcWithPackages (ps: with ps; [hledger])) coreutils direnv youtube-dl ]; }; - programs = { - - # Doesnt' work bc clang can't compile it?? - #qutebrowser = { - # enable = true; - # settings = { - # "colors.webpage.darkmode.enabled" = true; - # }; - #}; - - }; + programs.ssh.extraConfig = '' + Match exec "/usr/local/bin/sft resolve -q %h" + ProxyCommand "/usr/local/bin/sft" proxycommand %h + UserKnownHostsFile "/Users/bsima/Library/Application Support/ScaleFT/proxycommand_known_hosts" + ''; } |