diff options
Diffstat (limited to 'profiles/network.nix')
-rw-r--r-- | profiles/network.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/profiles/network.nix b/profiles/network.nix new file mode 100644 index 0000000..5aee7a1 --- /dev/null +++ b/profiles/network.nix @@ -0,0 +1,19 @@ +{ pkgs, lib, config, inputs, ... }: + +{ + imports = []; + config = { + networking = { + firewall = { + enable = true; + allowPing = false; + allowedTCPPorts = []; + checkReversePath = "loose"; + }; + networkmanager.enable = true; + useDHCP = false; + nameservers = ["127.0.0.1" "::1"]; + networkmanager.dns = "none"; + }; + }; +} \ No newline at end of file |