diff --git a/nixos-anywhere/configuration.nix b/nixos-anywhere/configuration.nix index 3e94b2b..6d1f3ed 100644 --- a/nixos-anywhere/configuration.nix +++ b/nixos-anywhere/configuration.nix @@ -16,18 +16,19 @@ efiSupport = true; efiInstallAsRemovable = true; }; - services.openssh.enable = true; environment.systemPackages = map lib.lowPrio [ pkgs.curl pkgs.gitMinimal ]; + services.openssh.enable = true; + + system.stateVersion = "25.05"; + users.users.root.openssh.authorizedKeys.keys = [ - # change this to your ssh key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos" ] ++ (args.extraPublicKeys or []); # this is used for unit-testing this module and can be removed if not needed - system.stateVersion = "25.05"; }