add ssh to Drone and force firewall to have no open ports (also fix nano tabs (i did not know it would do this))

This commit is contained in:
wo2wz 2025-08-09 12:18:57 -04:00
parent 496a9ac3bc
commit 37db37e554

View file

@ -4,6 +4,7 @@
imports = [
./hardware-configuration.nix
../../common/ssh/server.nix
../../common/boot.nix
../../common/locales.nix
../../common/nix.nix
@ -25,7 +26,15 @@
size = 8192;
}];
networking.hostName = "${hostName}";
networking = {
hostName = "${hostName}";
firewall = lib.mkForce {
allowedTCPPorts = [];
allowedTCPPortRanges = [];
allowedUDPPorts = [];
allowedUDPPortRanges = [];
};
};
environment.defaultPackages = lib.mkForce [];