Something went wrong. Try again.
Configuration for my NixOS based systems and Home Manager
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109{ config, ... }:let localHost = hostname: attrs: { User = "noah"; ForwardAgent = true; HostName = hostname; } // attrs;in{ services.ssh-agent.enable = true; services.gpg-agent.enable = false;
age.secrets.ssh-hosts = { file = ./secrets/ssh-hosts.age; path = "${config.xdg.configHome}/ssh/hosts"; symlink = true; };
programs.ssh = { enable = true; enableDefaultConfig = false; includes = [ config.age.secrets.ssh-hosts.path ]; settings = { "*" = { AddKeysToAgent = "yes"; ServerAliveInterval = 60; ControlMaster = "auto"; ControlPath = "~/.ssh/master-%r@%h:%p"; }; "git.sr.ht" = { HostName = "git.sr.ht"; User = "git"; }; "github.com" = { HostName = "github.com"; User = "git"; }; "tangled.org" = { HostName = "tangled.org"; User = "git"; AddressFamily = "inet"; }; "misaki" = localHost "192.168.1.3" { }; "misaki.local" = localHost "misaki.local" { }; "aleister" = localHost "192.168.1.16" { }; "aleister.local" = localHost "aleister.local" { }; "komoe" = localHost "192.168.1.5" { }; "komoe.local" = localHost "komoe.local" { }; "othinus" = localHost "192.168.1.4" { }; "othinus.local" = localHost "othinus.local" { }; "odin" = localHost "192.168.1.6" { }; "odin.local" = localHost "odin.local" { }; "accelerator" = localHost "192.168.1.7" { }; "accelerator.local" = localHost "accelerator.local" { }; "shizuri" = localHost "192.168.1.15" { }; "shizuri.local" = localHost "shizuri.local" { }; "tiny" = localHost "tiny.packetlost.dev" { }; "edge" = localHost "173.249.220.70" { User = "root"; }; "tinybsd" = localHost "tinybsd.packetlost.dev" { }; "sdf" = { HostName = "tty.sdf.org"; User = "ngp"; }; "tildeclub" = { HostName = "tilde.club"; User = "ngp"; }; "envs" = { HostName = "envs.net"; User = "ngp"; }; "tildeteam" = { HostName = "tilde.team"; User = "ngp"; }; "ctrl-c" = { HostName = "ctrl-c.club"; User = "ngp"; }; "tildetown" = { HostName = "tilde.town"; User = "ngp"; }; "yourtilde" = { HostName = "yourtilde.com"; User = "ngp"; }; "hashbang" = { HostName = "to1.hashbang.sh"; User = "ngp"; IdentitiesOnly = true; }; "seedbox" = { HostName = "canopus.usbx.me"; User = "ngp"; }; "launchpad" = { HostName = "git.launchpad.net"; User = "pedersonnoah"; }; }; };}