feat: ptp link to synology and mount nfs volume

This commit is contained in:
Iain Learmonth 2025-06-16 21:36:15 +01:00
parent b226969b39
commit b5a483f88d
2 changed files with 23 additions and 7 deletions

View file

@ -39,13 +39,15 @@
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.end0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
networking.interfaces = {
end0.useDHCP = lib.mkDefault true;
enp2s0u2.ipv4.addresses = [
{
address = "172.16.0.2";
prefixLength = 24;
}
];
};
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}