mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 22:51:49 +00:00
fixing fitbit
This commit is contained in:
16
hosts/ssh.nix
Normal file
16
hosts/ssh.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:{
|
||||
#define option to enable this
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [22];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user