summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-07-29 01:34:23 -0400
committerBen Sima <ben@bsima.me>2022-07-29 01:34:30 -0400
commitbd877092763e7b36605c582cf3d298fbb1653b71 (patch)
treede036b9b477277c93af17782d08f2cea7655326c
parent1f38efe0ee491b22eaadf5bdbfb2a621fa2a6fdb (diff)
groq-specific fixes
-rw-r--r--lib/ssh.nix1
-rw-r--r--profiles/darwin.nix31
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"
+ '';
}