diff options
| author | sinanmohd <sinan@sinanmohd.com> | 2026-02-08 10:51:07 +0530 |
|---|---|---|
| committer | sinanmohd <sinan@sinanmohd.com> | 2026-02-08 10:51:07 +0530 |
| commit | 819f197a6866edbb78627ae00455a237807792b0 (patch) | |
| tree | b4cf5bdd534c6712cd140d94c75a779367b234fd /os/common | |
| parent | d918a10014018c11badaca04f64ab4d2175bfcf9 (diff) | |
chore(os): update ssh keys and enable ssh by default
Diffstat (limited to 'os/common')
| -rw-r--r-- | os/common/configuration.nix | 6 | ||||
| -rw-r--r-- | os/common/modules/user.nix | 2 |
2 files changed, 7 insertions, 1 deletions
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" ]; }; |
