From c542dcdee95eec8ab5c82c9c8ea319da01c17c8a Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 24 Nov 2025 19:30:49 -0500 Subject: [PATCH] Use a local ssh config for odowork. --- nix/configuration/hosts/odowork/default.nix | 6 +++++- nix/configuration/hosts/odowork/ssh_config.nix | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 nix/configuration/hosts/odowork/ssh_config.nix diff --git a/nix/configuration/hosts/odowork/default.nix b/nix/configuration/hosts/odowork/default.nix index e6511841..a606add8 100644 --- a/nix/configuration/hosts/odowork/default.nix +++ b/nix/configuration/hosts/odowork/default.nix @@ -13,6 +13,7 @@ ./screen_brightness.nix ./wifi.nix ./framework_module.nix + ./ssh_config.nix ]; config = { @@ -120,7 +121,10 @@ me.wireguard.activated = [ "wgh" ]; - me.wireguard.deactivated = [ "wgf" ]; + me.wireguard.deactivated = [ + "wgf" + "colo" + ]; me.yubikey.enable = true; me.zfs.enable = true; me.zrepl.enable = true; diff --git a/nix/configuration/hosts/odowork/ssh_config.nix b/nix/configuration/hosts/odowork/ssh_config.nix new file mode 100644 index 00000000..0e3f8b44 --- /dev/null +++ b/nix/configuration/hosts/odowork/ssh_config.nix @@ -0,0 +1,15 @@ +{ + lib, + ... +}: +{ + imports = [ ]; + + config = { + me.install.user.talexander.file = { + ".ssh/config" = { + source = lib.mkForce "/persist/manual/ssh/talexander/config"; + }; + }; + }; +}