aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-08-22 10:46:35 +0200
committerKarel Kočí <cynerd@email.cz>2022-08-22 10:46:35 +0200
commit7fdca49b75b85a41da9dae34b01a01c88f38c142 (patch)
tree516f36969485078c6f0d7ff5cee527ecf945a5dc /nixos/machine
parent13a3dad58e96eff16ef84d756eeca14f65087695 (diff)
downloadnixos-personal-7fdca49b75b85a41da9dae34b01a01c88f38c142.tar.gz
nixos-personal-7fdca49b75b85a41da9dae34b01a01c88f38c142.tar.bz2
nixos-personal-7fdca49b75b85a41da9dae34b01a01c88f38c142.zip
Update and few changes for routers
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/adm-omnia.nix7
-rw-r--r--nixos/machine/dean.nix2
-rw-r--r--nixos/machine/spt-mox2.nix14
3 files changed, 9 insertions, 14 deletions
diff --git a/nixos/machine/adm-omnia.nix b/nixos/machine/adm-omnia.nix
index c7c2063..48af6fa 100644
--- a/nixos/machine/adm-omnia.nix
+++ b/nixos/machine/adm-omnia.nix
@@ -8,6 +8,7 @@ with lib;
cynerd = {
#openvpn.oldpersonal = true;
};
+ boot.kernelPackages = pkgs.linuxPackages;
networking = {
# TODO we need vlan filtering to filter out guest and adm network
@@ -40,12 +41,6 @@ with lib;
enable = true;
environmentFile = "/run/secrets/hostapd.env";
interfaces = {
- "mlan0" = {
- countryCode = "CZ";
- ssid = "TurrisRules";
- wpa = true;
- wpaPassphrase = "@PASS_TURRIS_RULES@";
- };
"wlp1s0" = {
countryCode = "CZ";
hwMode = "a";
diff --git a/nixos/machine/dean.nix b/nixos/machine/dean.nix
index b34bb0b..f2d5459 100644
--- a/nixos/machine/dean.nix
+++ b/nixos/machine/dean.nix
@@ -37,7 +37,7 @@ with lib;
}];
environment.systemPackages = with pkgs; [
- openocd
+ #openocd
sterm
];
diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix
index a3de15d..65748fb 100644
--- a/nixos/machine/spt-mox2.nix
+++ b/nixos/machine/spt-mox2.nix
@@ -24,16 +24,16 @@ with lib;
enable = true;
environmentFile = "/run/secrets/hostapd.env";
interfaces = {
- "mlan0" = {
- countryCode = "CZ";
- ssid = "TurrisRules";
- wpa = true;
- wpaPassphrase = "@PASS_TURRIS_RULES@";
- };
+ #"mlan0" = {
+ #countryCode = "CZ";
+ #ssid = "TurrisRules";
+ #wpa = true;
+ #wpaPassphrase = "@PASS_TURRIS_RULES@";
+ #};
"wlp1s0" = {
countryCode = "CZ";
hwMode = "a";
- channel = 36;
+ channel = 40;
ieee80211ac = true;
ht_capab = ["HT40+" "LDPC" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1" "MAX-AMSDU-7935" "DSSS_CCK-40"];
vht_capab = ["RXLDPC" "SHORT-GI-80" "TX-STBC-2BY1" "RX-ANTENNA-PATTERN" "TX-ANTENNA-PATTERN" "RX-STBC-1" "MAX-MPDU-11454" "MAX-A-MPDU-LEN-EXP7"];