aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/programs
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-12-15 21:41:05 -0600
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-12-15 21:41:05 -0600
commit9cd1661a14b232b5cc0e7ed1d1556a2f2203506e (patch)
treea28490c886af60b25c487bae45e71f74a2305eff /macos.local/.flake/home/programs
parentf11895461530891c552b2246d3b79f8691d2b716 (diff)
migrate brew to nix
Diffstat (limited to 'macos.local/.flake/home/programs')
-rw-r--r--macos.local/.flake/home/programs/core.nix.org1
-rw-r--r--macos.local/.flake/home/programs/ssh.nix.org37
2 files changed, 38 insertions, 0 deletions
diff --git a/macos.local/.flake/home/programs/core.nix.org b/macos.local/.flake/home/programs/core.nix.org
index a06cd3f..59dd331 100644
--- a/macos.local/.flake/home/programs/core.nix.org
+++ b/macos.local/.flake/home/programs/core.nix.org
@@ -10,6 +10,7 @@
./fastfetch.nix
./git.nix
./neovim.nix
+ ./ssh.nix
./zsh.nix
];
diff --git a/macos.local/.flake/home/programs/ssh.nix.org b/macos.local/.flake/home/programs/ssh.nix.org
new file mode 100644
index 0000000..09eb34f
--- /dev/null
+++ b/macos.local/.flake/home/programs/ssh.nix.org
@@ -0,0 +1,37 @@
+#+title: SSH Configuration
+
+#+begin_src nix
+ { config, pkgs, ... }:
+ {
+ programs.ssh = {
+ enable = true;
+ addKeysToAgent = "yes";
+ matchBlocks = {
+ "*" = {
+ identityFile = "~/.ssh/id_ed25519";
+ extraOptions = {
+ "UseKeychain" = "yes";
+ };
+ };
+ "aviary" = {
+ hostname = "aviary.cs.umanitoba.ca";
+ user = "janzenj2";
+ };
+ "jjanzen.ca" = {
+ setEnv = {
+ "TERM" = "xterm";
+ };
+ };
+ "oracle" = {
+ setEnv = {
+ "TERM" = "xterm";
+ };
+ hostname = "jjanzen.ca";
+ identityFile = "~/.ssh/oracle";
+ identitiesOnly = true;
+ user = "opc";
+ };
+ };
+ };
+ }
+#+end_src