diff options
Diffstat (limited to 'nixos/configurations/dean.nix')
-rw-r--r-- | nixos/configurations/dean.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/nixos/configurations/dean.nix b/nixos/configurations/dean.nix new file mode 100644 index 0000000..b91083c --- /dev/null +++ b/nixos/configurations/dean.nix @@ -0,0 +1,40 @@ +{pkgs, ...}: { + nixpkgs.hostPlatform.system = "aarch64-linux"; + + cynerd = { + openvpn = { + oldpersonal = true; + }; + monitoring.speedtest = true; + }; + + networking = { + bridges = { + brlan = { + interfaces = [ + "eth0" + "lan1" + "lan2" + "lan3" + "lan4" + ]; + }; + }; + dhcpcd.allowInterfaces = ["brlan"]; + }; + + swapDevices = [ + { + device = "/var/swap"; + priority = 1; + } + ]; + + environment.systemPackages = with pkgs; [ + #openocd + tio + ]; + + # TODO: ubootTools build is broken! + firmware.environment.enable = false; +} |