treefmt / nix fmt (pull_request) Successful in 5s
pytest / pytest (pull_request) Successful in 29s
test ebook search / test-ebook-search (pull_request) Successful in 34s
build_systems / build-brain (pull_request) Successful in 48s
build_systems / build-bob (pull_request) Successful in 48s
build_systems / build-rhapsody-in-green (pull_request) Successful in 58s
build_systems / build-jeeves (pull_request) Successful in 2m14s
- split networking into interface and firewall modules - define named service ports in one location - remove scattered service-level firewall rules
17 lines
412 B
Nix
17 lines
412 B
Nix
{
|
|
imports = [
|
|
./firewall.nix
|
|
./interfaces.nix
|
|
];
|
|
networking = {
|
|
hostName = "jeeves";
|
|
hostId = "0e15ce35";
|
|
useNetworkd = true;
|
|
# Without this, unconfigured NICs get a catch-all DHCP network and
|
|
# join the LAN uninvited (how the dead atlantic card ended up
|
|
# ARP-poisoning 192.168.99.14). Every interface must be configured
|
|
# explicitly below.
|
|
useDHCP = false;
|
|
};
|
|
}
|