diff --git a/configuration.nix b/configuration.nix index 3f271fe..dafe0f6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -47,6 +47,13 @@ services.tailscale.enable = true; + programs.ssh.startAgent = true; + + # Enable the OpenSSH daemon. + services.openssh = { + enable = true; + }; + ############################## ### System ### ############################## @@ -80,6 +87,9 @@ isNormalUser = true; description = "Mohammad Rafiq"; extraGroups = [ "networkmanager" "wheel" "podman" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICg/5h5yj+xIuE9ZF1Dnof0OptJNitiYc1JZlnrUtS7F mohammadrafiq567@gmail.com rafiq@iris" + ]; }; ############################## @@ -120,11 +130,6 @@ # List services that you want to enable: - # Enable the OpenSSH daemon. - services.openssh = { - enable = true; - }; - programs.hyprland = { enable = true;