aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-07-20 10:50:45 +0200
committerKarel Kočí <cynerd@email.cz>2022-07-20 10:51:07 +0200
commit824e7fb653e6e7a098c9d5c8750845a736f1aaf4 (patch)
tree2d7baa7d82391fdd6d52ba98eb229c7171ffb6b2 /nixos/machine
parent6cf4d49a8d5514eaa86325e175794c41cbc688c3 (diff)
downloadnixos-personal-824e7fb653e6e7a098c9d5c8750845a736f1aaf4.tar.gz
nixos-personal-824e7fb653e6e7a098c9d5c8750845a736f1aaf4.tar.bz2
nixos-personal-824e7fb653e6e7a098c9d5c8750845a736f1aaf4.zip
nixos: add machine dean
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/dean.nix36
-rw-r--r--nixos/machine/default.nix1
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;