mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-02-23 05:32:06 +00:00
15 lines
No EOL
288 B
Nix
15 lines
No EOL
288 B
Nix
# To use this shared NixOS configuration for OpenSSH, just import this file
|
|
# on your NixOS configuration.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "prohibit-password";
|
|
};
|
|
};
|
|
|
|
programs.mosh.enable = true;
|
|
} |