1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/common/networking.nix

16 lines
327 B
Nix
Raw Normal View History

2024-01-18 16:03:31 +01:00
{ config, lib, ... }: with lib; {
2023-11-28 08:19:49 +01:00
networking = {
2024-01-18 16:03:31 +01:00
domain = mkDefault "kyouma.net";
nftables.enable = mkDefault true;
firewall.logRefusedConnections = mkDefault false;
2023-11-28 08:19:49 +01:00
};
2024-01-18 16:03:31 +01:00
2023-11-28 08:19:49 +01:00
systemd.network.enable = true;
2024-01-18 16:03:31 +01:00
networking.dhcpcd.enable = false;
2023-11-28 08:19:49 +01:00
services.resolved = {
enable = true;
dnssec = "true";
};
}