dotfiles/.config/nixos/shared/ssh.nix
Andrei Jiroh Halili 824366c5dd chore(global): initial commit for nixpkgs branch
Need to commit and push for community help at @hackclub slack
later.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
2024-12-29 19:39:14 +08:00

15 lines
No EOL
267 B
Nix

# To use this shared NixOS configuration for OpenSSH, just import this file
# on your NixOS configuration.
{...}:
{
programs.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
};
};
programs.mosh.enable = true;
}