From a5d08d2dd1160b8b7bf9b08c75f565003813091c Mon Sep 17 00:00:00 2001 From: Parker TenBroeck <51721964+ParkerTenBroeck@users.noreply.github.com> Date: Fri, 29 May 2026 09:14:37 -0400 Subject: [PATCH] work laptop update --- hosts/work.nix | 29 +++++++++++++++++++++++++++++ modules/editors/vi.nix | 1 + modules/ssh.nix | 4 ++-- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/hosts/work.nix b/hosts/work.nix index e420a56..3b2a1c3 100644 --- a/hosts/work.nix +++ b/hosts/work.nix @@ -74,6 +74,35 @@ in { group = "users"; }; + home-manager.users.may.programs.ssh = { + enable = true; + enableDefaultConfig = false; + + matchBlocks.wt = { + hostname = "host.westminsterteak.com"; + user = "adminster"; + port = 22448; + setEnv.TERM = "xterm-256color"; + identityFile = "~/.ssh/wt_rsa"; + }; + + matchBlocks.host_wt = { + hostname = "hostv2.westminsterteak.com"; + user = "admin"; + port = 22448; + setEnv.TERM = "xterm-256color"; + identityFile = "~/.ssh/wt_ed25519"; + }; + + matchBlocks.site_wt = { + hostname = "50.28.84.195"; + user = "admin"; + port = 22450; + setEnv.TERM = "xterm-256color"; + identityFile = "~/.ssh/wt_ed25519"; + }; + }; + home-manager.users.may.wayland.windowManager.hyprland.settings.exec-once = lib.mkAfter [ (hyprOneLine '' sleep 2 diff --git a/modules/editors/vi.nix b/modules/editors/vi.nix index f39b0e3..87e4381 100644 --- a/modules/editors/vi.nix +++ b/modules/editors/vi.nix @@ -2,6 +2,7 @@ home-manager.users.may = { home.sessionVariables = { EDITOR = "nvim"; + SUDO_EDITOR = "nvim"; VISUAL = "nvim"; }; }; diff --git a/modules/ssh.nix b/modules/ssh.nix index b10809a..914b807 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -1,3 +1,3 @@ -{ pkgs, ...}: { +{ ... }: { services.openssh.enable = true; -} \ No newline at end of file +}