From a48d057700c636666a5e835cbcb0b667848008c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 15 Mar 2024 09:13:05 +0100 Subject: nixos: rework configurations management --- nixos/machine/spt-mox2.nix | 51 ---------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 nixos/machine/spt-mox2.nix (limited to 'nixos/machine/spt-mox2.nix') diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix deleted file mode 100644 index 45035d4..0000000 --- a/nixos/machine/spt-mox2.nix +++ /dev/null @@ -1,51 +0,0 @@ -{config, ...}: { - deploy = { - enable = true; - ssh.host = "mox2.spt"; - }; - - cynerd = { - switch = { - enable = true; - lanAddress = "${config.cynerd.hosts.spt.mox2}/24"; - lanGateway = config.cynerd.hosts.spt.omnia; - }; - wifiAP.spt = { - enable = true; - qca988x = { - interface = "wls1"; - bssids = ["04:f0:21:45:d3:47" "08:f0:21:45:d3:47"]; - channel = 1; - }; - }; - }; - - services.journald.extraConfig = '' - SystemMaxUse=512M - ''; - - services.btrfs.autoScrub = { - enable = true; - fileSystems = ["/"]; - }; - - networking = { - useNetworkd = true; - useDHCP = false; - }; - systemd.network.networks = { - "lan-brlan" = { - matchConfig.Name = "end0"; - networkConfig.Bridge = "brlan"; - bridgeVLANs = [ - { - bridgeVLANConfig = { - EgressUntagged = 1; - PVID = 1; - }; - } - {bridgeVLANConfig.VLAN = 2;} - ]; - }; - }; -} -- cgit v1.2.3