mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-26 07:43:45 +01:00
22 lines
262 B
Nix
22 lines
262 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
|
|
{
|
|
networking = {
|
|
useHostResolvConf = mkForce false;
|
|
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
80
|
|
];
|
|
};
|
|
};
|
|
|
|
services = {
|
|
resolved = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|