Files
nix-config/modules/hosts/keith/networking.nix
Weckyy702 e34b5ecce3 Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts.

> Atomic commits? Never heard of them!
2026-03-15 15:04:47 +01:00

32 lines
667 B
Nix

{
flake.modules.nixos.keith = {
networking.hostName = "keith";
networking.networkmanager = {
enable = true;
ensureProfiles.profiles = {
p2p-nas = {
connection = {
id = "p2p-nas";
type = "ethernet";
interface-name = "enp1s0";
autoconnect = true;
};
ipv6 = {
method = "manual";
addresses = "fd00:fa57::1/64";
};
ipv4.method = "disabled";
ethernet.mtu = 9000;
};
};
};
networking.extraHosts = ''
fd00:fa57::2 duke.veltnet
'';
networking.firewall.enable = false;
};
}