1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00
github.com-tboerger-nixos-c.../shared/services/cloud/networking.nix
2024-07-17 16:05:33 +02:00

22 lines
262 B
Nix

{ pkgs, config, lib, ... }:
with lib;
{
networking = {
useHostResolvConf = mkForce false;
firewall = {
enable = true;
allowedTCPPorts = [
80
];
};
};
services = {
resolved = {
enable = true;
};
};
}