mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-26 15:12:14 +00:00
17 lines
244 B
Nix
17 lines
244 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:{
|
|
#define option to enable this
|
|
services.openssh = {
|
|
enable = true;
|
|
permitRootLogin = "no";
|
|
passwordAuthentication = false;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [22];
|
|
|
|
}
|