Add SSH keys and fish config for root user

This commit is contained in:
Evie Litherland-Smith 2023-05-09 17:54:54 +01:00
parent f3c3b9357c
commit 152a8acf0e
2 changed files with 7 additions and 0 deletions

View file

@ -20,6 +20,12 @@
services.xserver.displayManager.defaultSession = "steam"; 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. # Define a user account. Don't forget to set a password with passwd.
users.users.xenia = { users.users.xenia = {
isNormalUser = true; isNormalUser = true;

View file

@ -10,6 +10,7 @@
home-manager.users.root = { ... }: { home-manager.users.root = { ... }: {
imports = [ imports = [
./home/env/bash.nix ./home/env/bash.nix
./home/env/fish.nix
./home/env/bat.nix ./home/env/bat.nix
./home/env/starship.nix ./home/env/starship.nix
./home/tui/neovim.nix ./home/tui/neovim.nix