ssh config

This commit is contained in:
2026-04-24 01:40:12 -05:00
parent c93e3ed8ae
commit 5466cd4a27
6 changed files with 10 additions and 141 deletions
-79
View File
@@ -1,79 +0,0 @@
casks:
battery-toolkit
fuse-t
linearmouse
ollama
rustdesk
texstudio
betterdisplay
gnucash
mactex-no-gui
ollama-app
syncthing-app
utm
command-x
kitty
makemkv
prismlauncher
tailscale
veracrypt-fuse-t
firefox
libreoffice
minecraft
rectangle
tailscale-app
vivaldi
brews:
coreutils
cowsay
ctpv
displayplacer
gawk
gnupg
imagemagick
iperf3
lf
lolcat
media-info
mpv
nmap
openvpn
p7zip
pandoc
pinentry-mac
pipx
qemu
rage
sl
speedtest-cli
xdg-ninja
yubico-piv-tool
mas:
1168254295 AmorphousDiskMark (4.0.1)
1037126344 Apple Configurator (2.18)
1352778147 Bitwarden (2025.9.0)
425264550 Blackmagic Disk Speed Test (3.4.2)
6454431289 CrystalFetch (2.2.0)
1438243180 Dark Reader for Safari (2.1.8)
975937182 Fantastical (4.1.2)
682658836 GarageBand (10.4.11)
6504861501 Ghostery Privacy Ad Blocker (10.5.38)
1616683087 GT Uptime (2.2.0)
1452453066 Hidden Bar (1.8)
1487860882 iMazing Profile Editor (2.1.0)
408981434 iMovie (10.4.3)
409183694 Keynote (14.5)
634148309 Logic Pro (11.2.2)
1621800675 Mercury (2.11.4)
409203825 Numbers (14.4)
409201541 Pages (14.4)
6449850851 Privacy.com for Safari (2.4.15)
899247664 TestFlight (4.1.0)
1614659226 virtualOS (2.1)
1295203466 Windows App (11.2.4)
+2 -4
View File
@@ -14,14 +14,12 @@
# home grown nixos modules
darwin = {
# ssh.enable = true;
syncthing.enable = true;
tailscale.enable = true;
yubikey.enable = true;
work.enable = true;
apps.enable = true;
gaming.enable = true;
ssh.enable = true;
};
@@ -80,8 +78,8 @@
];
masApps = {
# "name" = app_id_number;
# "hiddenbar" = 1452453066;
# "testflight" = 899247664;
"hiddenbar" = 1452453066;
"testflight" = 899247664;
};
};
# for mas to not throw rebuild fit
-1
View File
@@ -5,7 +5,6 @@
...
}: {
imports = [
./ssh
./tailscale
./syncthing
./yubikey
-55
View File
@@ -1,55 +0,0 @@
{
pkgs,
config,
lib,
...
}:
let
service = "ssh";
cfg = config.darwin.${service};
in {
options.darwin.${service} = {
enable = lib.mkEnableOption "installs generally wanted apps";
};
config = lib.mkIf cfg.enable {
# environment.systemPackages = with pkgs; [
# uhhh
# ];
programs.ssh = {
extraConfig = ''
Host bebe
User root
HostName 10.10.0.1
Host git.blakedheld.xyz
Port 7567
User gitea
Host snowbelle
Port 22
User blake
Host git.snowbelle.lan
Port 7567
User gitea
Host *
ForwardAgent no
ServerAliveInterval 0
ServerAliveCountMax 3
Compression no
AddKeysToAgent no
HashKnownHosts no
UserKnownHostsFile ~/.ssh/known_hosts
ControlMaster no
ControlPath ~/.ssh/master-%r@%n:%p
ControlPersist no
IdentityFile /Users/bhelderman/.ssh/id_macos
'';
};
};
}
+2 -2
View File
@@ -29,11 +29,11 @@ in {
if isLinux then {
enable = true;
providers.wl-copy.enable = true;
registers = "unnamedplus";
registers = "unnamed";
}
else {
enable = true;
registers = "unnamedplus";
registers = "unnamed";
};
globals = {
+6
View File
@@ -7,6 +7,8 @@
program = "ssh";
cfg = config.dots.${program};
home_dir = config.home.homeDirectory;
isLinux = pkgs.stdenv.isLinux;
isDarwin = pkgs.stdenv.isDarwin;
in {
options.dots.${program} = {
enable = lib.mkEnableOption "enables ${program}";
@@ -42,6 +44,10 @@ in {
hostname = "10.10.0.1";
user = "root";
};
"snowbelle" = {
hostname = "10.10.0.10";
user = "blake";
};
};
};