From 5cb16c34a8c5b803ec723934c1dc828c0e8e3bad Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Tue, 10 Sep 2024 11:52:55 -0500 Subject: Trying to get everything to actually work --- modules/device/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/device/default.nix') diff --git a/modules/device/default.nix b/modules/device/default.nix index 22cf180..a1f80ef 100644 --- a/modules/device/default.nix +++ b/modules/device/default.nix @@ -29,6 +29,11 @@ in { type = types.enum (attrNames devices); }; + affiliate = mkOption { + type = types.enum (import ../../data/affiliates.nix); + default = "kobo"; + }; + hardware = hardware // { default = config._allDevices.${config.device.name}.hardware; }; -- cgit v1.2.3