flake: cleanup and add hostname definition

This commit is contained in:
wo2wz 2025-10-19 18:39:07 -04:00
parent 2e6cf2c456
commit 0ccba9602d
5 changed files with 20 additions and 26 deletions

View file

@ -1,4 +1,4 @@
{ hostName, inputs, config, lib, pkgs, ... }:
{ inputs, config, lib, pkgs, ... }:
{
imports = [
@ -60,14 +60,11 @@
services.zfs.autoScrub.enable = true;
networking = {
hostName = "${hostName}";
firewall = lib.mkForce {
allowedTCPPorts = [];
allowedTCPPortRanges = [];
allowedUDPPorts = [];
allowedUDPPortRanges = [];
};
networking.firewall = lib.mkForce {
allowedTCPPorts = [];
allowedTCPPortRanges = [];
allowedUDPPorts = [];
allowedUDPPortRanges = [];
};
# for cloudflare browser ssh