Log in as root to servers by default, add lazygit for root user

This commit is contained in:
Evie Litherland-Smith 2023-05-09 17:56:18 +01:00
parent 152a8acf0e
commit 518e59446a
2 changed files with 3 additions and 2 deletions

View file

@ -13,6 +13,7 @@
./home/env/fish.nix ./home/env/fish.nix
./home/env/bat.nix ./home/env/bat.nix
./home/env/starship.nix ./home/env/starship.nix
./home/env/lazygit.nix
./home/tui/neovim.nix ./home/tui/neovim.nix
./home/git/personal.nix ./home/git/personal.nix
]; ];

View file

@ -3,13 +3,13 @@
imports = [ ./common.nix ]; imports = [ ./common.nix ];
programs.ssh.matchBlocks = { programs.ssh.matchBlocks = {
"legion xenia xenia.me.uk" = { "legion xenia xenia.me.uk" = {
user = "xenia"; user = "root";
hostname = "xenia.me.uk"; hostname = "xenia.me.uk";
port = 30; port = 30;
forwardAgent = true; forwardAgent = true;
}; };
"vanguard" = { "vanguard" = {
user = "xenia"; user = "root";
hostname = "192.168.1.166"; hostname = "192.168.1.166";
forwardAgent = true; forwardAgent = true;
}; };