From 152a8acf0e3ebf01ee54bfa406c6a82582c5cbec Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 9 May 2023 17:54:54 +0100 Subject: [PATCH] Add SSH keys and fish config for root user --- Vanguard.nix | 6 ++++++ common.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/Vanguard.nix b/Vanguard.nix index 04ee0bea..38e46ca2 100644 --- a/Vanguard.nix +++ b/Vanguard.nix @@ -20,6 +20,12 @@ services.xserver.displayManager.defaultSession = "steam"; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGAcvAQ8W71Bn8pdMYst1hoVCmVJ+0h4HBlJzu1C6dwy xenia@Northstar" + ]; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.xenia = { isNormalUser = true; diff --git a/common.nix b/common.nix index 5c7b2450..07fb29e4 100644 --- a/common.nix +++ b/common.nix @@ -10,6 +10,7 @@ home-manager.users.root = { ... }: { imports = [ ./home/env/bash.nix + ./home/env/fish.nix ./home/env/bat.nix ./home/env/starship.nix ./home/tui/neovim.nix