1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/routnerr-3: nixfmt

This commit is contained in:
Matt Layher 2023-08-15 14:19:15 -04:00
parent d18e60064c
commit db750eed36
2 changed files with 8 additions and 3 deletions

View file

@ -6,8 +6,7 @@
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules =
[ "nvme" "xhci_pci" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];

View file

@ -27,7 +27,13 @@ let
# LAN interfaces, segmented into trusted, limited, and untrusted groups.
metered_lans = with vars.interfaces; [ mgmt0 lan0 ];
trusted_lans = with vars.interfaces; [ mgmt0 lan0 lab0 wg0 {name = "ts0";} ];
trusted_lans = with vars.interfaces; [
mgmt0
lan0
lab0
wg0
{ name = "ts0"; }
];
limited_lans = with vars.interfaces; [ guest0 ];
untrusted_lans = with vars.interfaces; [ iot0 ];