aboutsummaryrefslogtreecommitdiff
path: root/modules/device
diff options
context:
space:
mode:
Diffstat (limited to 'modules/device')
-rw-r--r--modules/device/default.nix5
1 files changed, 5 insertions, 0 deletions
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;
};