aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-03-15 10:56:26 +0100
committerKarel Kočí <cynerd@email.cz>2024-03-15 10:56:26 +0100
commita2f35401414d47c1a929b5b75d5e40705954b00d (patch)
tree2802772890e0d9ed2b062df6adc854ba28b2e27d /nixos/machine
parent37cb70e417010417fabb10c789c87a5eb79ac151 (diff)
downloadnixos-personal-a2f35401414d47c1a929b5b75d5e40705954b00d.tar.gz
nixos-personal-a2f35401414d47c1a929b5b75d5e40705954b00d.tar.bz2
nixos-personal-a2f35401414d47c1a929b5b75d5e40705954b00d.zip
adm-omnia2: update and redeploy
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/adm-omnia2.nix23
1 files changed, 20 insertions, 3 deletions
diff --git a/nixos/machine/adm-omnia2.nix b/nixos/machine/adm-omnia2.nix
index be245e2..6a9831a 100644
--- a/nixos/machine/adm-omnia2.nix
+++ b/nixos/machine/adm-omnia2.nix
@@ -1,4 +1,9 @@
{config, ...}: {
+ deploy = {
+ enable = true;
+ ssh.host = "omnia2.adm";
+ };
+
cynerd = {
switch = {
enable = true;
@@ -7,11 +12,23 @@
};
wifiAP.adm = {
enable = true;
- ar9287.interface = "wlp2s0";
- qca988x.interface = "wlp1s0";
+ ar9287 = {
+ interface = "wlp1s0";
+ bssids = ["12:f0:21:23:2b:00" "12:f0:21:23:2b:01" "12:f0:21:23:2b:02"];
+ channel = 11;
+ };
+ qca988x = {
+ interface = "wlp2s0";
+ bssids = ["12:f0:21:23:2b:03" "12:f0:21:23:2b:04" "12:f0:21:23:2b:05"];
+ channel = 36;
+ };
};
};
+ services.journald.extraConfig = ''
+ SystemMaxUse=8G
+ '';
+
services.btrfs.autoScrub = {
enable = true;
fileSystems = ["/"];
@@ -23,7 +40,7 @@
};
systemd.network.networks = {
"lan-brlan" = {
- matchConfig.Name = "lan* eth0";
+ matchConfig.Name = "lan* end2";
networkConfig.Bridge = "brlan";
bridgeVLANs = [
{