From 85905d6fc7e2939af7454e40681505731e0fe706 Mon Sep 17 00:00:00 2001 From: muon Date: Sun, 12 Jan 2025 17:37:14 +0000 Subject: [PATCH] Add trusted keys muho --- hosts/muho/configuration.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/muho/configuration.nix b/hosts/muho/configuration.nix index 735e33b..6181c8c 100644 --- a/hosts/muho/configuration.nix +++ b/hosts/muho/configuration.nix @@ -1,5 +1,11 @@ { config, lib, pkgs, inputs, system, ... }: -let cfg = config.mods; +let + cfg = config.mods; + keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILmAOd9VbhyJeibt6Vrb101MNTk5W8+rh94Djv/C+pyu muon@muho" + ]; in { # Hardware imports = [ ./hardware-configuration.nix ../ports.nix ]; @@ -35,6 +41,9 @@ in { services.xserver.windowManager.i3.enable = false; + users.users.muon.openssh.authorizedKeys.keys = keys; + users.users.root.openssh.authorizedKeys.keys = keys; + # Proprietary