From 819f197a6866edbb78627ae00455a237807792b0 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 8 Feb 2026 10:51:07 +0530 Subject: chore(os): update ssh keys and enable ssh by default --- os/common/configuration.nix | 6 ++++++ os/common/modules/user.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'os/common') diff --git a/os/common/configuration.nix b/os/common/configuration.nix index 7b6b956..2fc5534 100644 --- a/os/common/configuration.nix +++ b/os/common/configuration.nix @@ -72,4 +72,10 @@ in "slack" "spotify" ]; + + programs.mosh.enable = true; + services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + }; } diff --git a/os/common/modules/user.nix b/os/common/modules/user.nix index 13a9046..9bf0ebe 100644 --- a/os/common/modules/user.nix +++ b/os/common/modules/user.nix @@ -12,7 +12,7 @@ in initialHashedPassword = "$y$j9T$5yekb7UNR3e1bHrPLqH/F.$zVIIDLBY4snxLQcdGCb1aHD2rIhs96fvdvPdNkstFcD"; openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMQu223dTF1J2Iw2TuKVt3SPT4cjtY90TMTxFGxP7DP7 sinan@exy" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJnqxnFFvG1R/ZfP9GjRem3V9GfSK5pM1uEmsQZrMGWX sinan@exy" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL8LnyOuPmtKRqAZeHueNN4kfYvpRQVwCivSTq+SZvDU sinan@cez" ]; }; -- cgit v1.2.3