diff --git a/flake.nix b/flake.nix index 52ce902..5f0f309 100644 --- a/flake.nix +++ b/flake.nix @@ -82,18 +82,18 @@ ]; }; - "muho" = { name, nodes, ... }: { - deployment.targetHost = "muho"; # SSH IP - deployment.targetUser = "muon"; # SSH username + # "muho" = { name, nodes, ... }: { + # deployment.targetHost = "muho"; # SSH IP + # deployment.targetUser = "muon"; # SSH username - # modules - imports = [ - ./hosts/muho/configuration.nix - ./modules/nixos - inputs.home-manager.nixosModules.default - inputs.stylix.nixosModules.stylix - ]; - }; + # # modules + # imports = [ + # ./hosts/muho/configuration.nix + # ./modules/nixos + # inputs.home-manager.nixosModules.default + # inputs.stylix.nixosModules.stylix + # ]; + # }; }; }; } 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