nixos-systems/host/sync/configuration.nix

26 lines
460 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }: {
imports = [
./hardware-configuration.nix
];
2025-08-20 23:58:18 +00:00
myModules.caddy.enable = true;
myModules.fieldseeker-sync.enable = true;
2025-08-23 18:33:57 +00:00
networking = {
firewall = {
enable = true;
interfaces.ens3 = {
allowedUDPPorts = [ 22 80 443 ];
allowedTCPPorts = [ 22 80 443 ];
};
trustedInterfaces = [
"ens4"
"lo"
];
};
networkmanager.enable = false;
nftables = {
enable = true;
};
useNetworkd = true;
};
}