From 518e59446a747702f1f46d694d02049207bd85a4 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 9 May 2023 17:56:18 +0100 Subject: [PATCH] Log in as root to servers by default, add lazygit for root user --- common.nix | 1 + home/ssh/personal.nix | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common.nix b/common.nix index 07fb29e4..89214ae7 100644 --- a/common.nix +++ b/common.nix @@ -13,6 +13,7 @@ ./home/env/fish.nix ./home/env/bat.nix ./home/env/starship.nix + ./home/env/lazygit.nix ./home/tui/neovim.nix ./home/git/personal.nix ]; diff --git a/home/ssh/personal.nix b/home/ssh/personal.nix index bbf57093..53dc09af 100644 --- a/home/ssh/personal.nix +++ b/home/ssh/personal.nix @@ -3,13 +3,13 @@ imports = [ ./common.nix ]; programs.ssh.matchBlocks = { "legion xenia xenia.me.uk" = { - user = "xenia"; + user = "root"; hostname = "xenia.me.uk"; port = 30; forwardAgent = true; }; "vanguard" = { - user = "xenia"; + user = "root"; hostname = "192.168.1.166"; forwardAgent = true; };