move SWCONFIG defn into per-device files

it doesn't work on qemu
This commit is contained in:
Daniel Barlow
2023-08-31 23:50:07 +01:00
parent d60aab728d
commit e04ec2e959
3 changed files with 6 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
support into the kernel even if we're using TFTP root
'';
module = { pkgs, config, ...}:
module = { pkgs, config, lib, ...}:
let
inherit (pkgs.liminix.networking) interface;
inherit (pkgs) openwrt;
@@ -151,6 +151,8 @@
PARTITION_ADVANCED = "y";
PRINTK_TIME = "y";
} // lib.optionalAttrs (config.system.service ? vlan) {
SWCONFIG = "y";
};
};
};