1 2 3 4 5 6 7
{lib, ...}: { options.role.sils = lib.mkOption { type = lib.types.nullOr (lib.types.enum ["laptop" "laptop-light" "undefined" "vm" "workstation"]); default = null; description = "The role which should be applied to your configuration."; }; }