diff options
Diffstat (limited to 'nixos/machine')
-rw-r--r-- | nixos/machine/dean.nix | 36 | ||||
-rw-r--r-- | nixos/machine/default.nix | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/nixos/machine/dean.nix b/nixos/machine/dean.nix new file mode 100644 index 0000000..eaa9094 --- /dev/null +++ b/nixos/machine/dean.nix @@ -0,0 +1,36 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + + config = { + cynerd = { + openvpn = { + oldpersonal = true; + }; + }; + + #boot.kernelPatches = [{ + # name = "rwtm"; + # patch = null; + # extraConfig = '' + # TURRIS_MOX_RWTM y + # ARMADA_37XX_RWTM_MBOX y + # ''; + #}]; + + networking = { + bridges = { + brlan = { + interfaces = [ + "eth0" "lan1" "lan2" "lan3" "lan4" + ]; + }; + }; + dhcpcd.allowInterfaces = [ "brlan" ]; + }; + + }; + +} diff --git a/nixos/machine/default.nix b/nixos/machine/default.nix index bfd2594..87c9d15 100644 --- a/nixos/machine/default.nix +++ b/nixos/machine/default.nix @@ -1,6 +1,7 @@ { machine-albert = import ./albert.nix; machine-binky = import ./binky.nix; + machine-dean = import ./dean.nix; machine-errol = import ./errol.nix; machine-lipwig = import ./lipwig.nix; machine-ridcully = import ./ridcully.nix; |