@smiletolerantly@awful.systems
Post #531497
2026-03-05 04:40 UTC
Ehm… I’m also on Nixos and I’d say it’s super trivial.
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
users.users..openssh.authorizedKeys.keys = [ list of pubkeys ideally read from file in repo ];
Replies (1)
-
@Urist@lemmy.ml 2026-03-05 10:22
So easy it should be illegal! I mean, how can we feel superior if we are not wasting huge amounts of time setting things up!?