mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-02-23 13:42:05 +00:00
15 lines
267 B
Nix
15 lines
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;
|
||
|
}
|