Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move ssh extra config to file, cleanup

+103 -101
+5 -101
noah-home.nix
··· 130 130 enable = true; 131 131 package = unstable.aerc; 132 132 }; 133 - programs.ssh.enable = true; 134 - programs.ssh.extraConfig = '' 135 - AddKeysToAgent yes 136 - ServerAliveInterval 60 137 - ControlMaster auto 138 - ControlPath ~/.ssh/master-%r@%h:%p 139 - 140 - Host home 141 - Hostname packetlostandfound.us 142 - User noah 143 - IdentityFile ~/.ssh/id_ed25519 144 - IdentitiesOnly yes 145 - 146 - Host git.sr.ht 147 - HostName git.sr.ht 148 - User git 149 - IdentityFile ~/.ssh/id_ed25519 150 - 151 - Host github.com 152 - HostName github.com 153 - User git 154 - IdentityFile ~/.ssh/id_ed25519 155 - 156 - Host misaki 157 - HostName 192.168.1.3 158 - User noah 159 - IdentityFile ~/.ssh/id_ed25519 160 - ForwardAgent yes 161 - 162 - Host komoe 163 - HostName 192.168.1.5 164 - User noah 165 - IdentityFile ~/.ssh/id_ed25519 166 - ForwardAgent yes 167 - 168 - Host sdf 169 - HostName tty.sdf.org 170 - User ngp 171 - IdentityFile ~/.ssh/id_ed25519 172 - 173 - Host tildeclub 174 - HostName tilde.club 175 - User ngp 176 - IdentityFile ~/.ssh/id_ed25519 177 - 178 - Host envs 179 - HostName envs.net 180 - User ngp 181 - IdentityFile ~/.ssh/id_ed25519 182 - 183 - Host tildeteam 184 - HostName tilde.team 185 - User ngp 186 - IdentityFile ~/.ssh/id_ed25519 187 - 188 - Host ctrl-c 189 - HostName ctrl-c.club 190 - User ngp 191 - IdentityFile ~/.ssh/id_ed25519 192 - 193 - Host tildetown 194 - HostName tilde.town 195 - User ngp 196 - IdentityFile ~/.ssh/id_ed25519 197 - 198 - Host yourtilde 199 - HostName yourtilde.com 200 - User ngp 201 - IdentityFile ~/.ssh/id_ed25519 202 - 203 - Host hashbang 204 - HostName to1.hashbang.sh 205 - IdentitiesOnly yes 206 - User ngp 207 - IdentityFile ~/.ssh/id_ed25519 208 - 209 - Host tiny 210 - HostName tiny.packetlost.dev 211 - User noah 212 - IdentityFile ~/.ssh/id_ed25519 213 - 214 - Host tinybsd 215 - HostName tinybsd.packetlost.dev 216 - User noah 217 - IdentityFile ~/.ssh/id_ed25519 218 - 219 - Host seedbox 220 - HostName canopus.usbx.me 221 - User ngp 222 - IdentityFile ~/.ssh/id_ed25519 223 - 224 - Host saten 225 - HostName saten.packetlost.dev 226 - User noah 227 - IdentityFile ~/.ssh/id_ed25519 228 - 229 - Host launchpad 230 - HostName git.launchpad.net 231 - User pedersonnoah 232 - IdentityFile ~/.ssh/id_ed25519 233 - ''; 133 + programs.ssh = { 134 + enable = true; 135 + extraConfig = builtins.readFile ./ssh/extra; 136 + }; 137 + services.ssh-agent.enable = true; 234 138 235 139 programs.direnv = { 236 140 enable = true;
+98
ssh/extra
··· 1 + AddKeysToAgent yes 2 + ServerAliveInterval 60 3 + ControlMaster auto 4 + ControlPath ~/.ssh/master-%r@%h:%p 5 + 6 + Host home 7 + Hostname packetlostandfound.us 8 + User noah 9 + IdentityFile ~/.ssh/id_ed25519 10 + IdentitiesOnly yes 11 + 12 + Host git.sr.ht 13 + HostName git.sr.ht 14 + User git 15 + IdentityFile ~/.ssh/id_ed25519 16 + 17 + Host github.com 18 + HostName github.com 19 + User git 20 + IdentityFile ~/.ssh/id_ed25519 21 + 22 + Host misaki 23 + HostName 192.168.1.3 24 + User noah 25 + IdentityFile ~/.ssh/id_ed25519 26 + ForwardAgent yes 27 + 28 + Host komoe 29 + HostName 192.168.1.5 30 + User noah 31 + IdentityFile ~/.ssh/id_ed25519 32 + ForwardAgent yes 33 + 34 + Host sdf 35 + HostName tty.sdf.org 36 + User ngp 37 + IdentityFile ~/.ssh/id_ed25519 38 + 39 + Host tildeclub 40 + HostName tilde.club 41 + User ngp 42 + IdentityFile ~/.ssh/id_ed25519 43 + 44 + Host envs 45 + HostName envs.net 46 + User ngp 47 + IdentityFile ~/.ssh/id_ed25519 48 + 49 + Host tildeteam 50 + HostName tilde.team 51 + User ngp 52 + IdentityFile ~/.ssh/id_ed25519 53 + 54 + Host ctrl-c 55 + HostName ctrl-c.club 56 + User ngp 57 + IdentityFile ~/.ssh/id_ed25519 58 + 59 + Host tildetown 60 + HostName tilde.town 61 + User ngp 62 + IdentityFile ~/.ssh/id_ed25519 63 + 64 + Host yourtilde 65 + HostName yourtilde.com 66 + User ngp 67 + IdentityFile ~/.ssh/id_ed25519 68 + 69 + Host hashbang 70 + HostName to1.hashbang.sh 71 + IdentitiesOnly yes 72 + User ngp 73 + IdentityFile ~/.ssh/id_ed25519 74 + 75 + Host tiny 76 + HostName tiny.packetlost.dev 77 + User noah 78 + IdentityFile ~/.ssh/id_ed25519 79 + 80 + Host tinybsd 81 + HostName tinybsd.packetlost.dev 82 + User noah 83 + IdentityFile ~/.ssh/id_ed25519 84 + 85 + Host seedbox 86 + HostName canopus.usbx.me 87 + User ngp 88 + IdentityFile ~/.ssh/id_ed25519 89 + 90 + Host saten 91 + HostName saten.packetlost.dev 92 + User noah 93 + IdentityFile ~/.ssh/id_ed25519 94 + 95 + Host launchpad 96 + HostName git.launchpad.net 97 + User pedersonnoah 98 + IdentityFile ~/.ssh/id_ed25519