fixing fitbit

This commit is contained in:
2023-11-30 14:48:39 +00:00
parent 915db56560
commit 4dc8f4b226
13 changed files with 285 additions and 25 deletions

View File

@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib; let
cfg = config.custom.sshd;
in {
#define option to enable this
options.custom.sshd.enable = mkEnableOption "Enable SSH";
config = mkIf cfg.enable {
services.openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
};
networking.firewall.allowedTCPPorts = [22];
};
}