diff --git a/modules/home/options/isDesktop/default.nix b/modules/home/options/isDesktop/default.nix new file mode 100644 index 0000000..16fff65 --- /dev/null +++ b/modules/home/options/isDesktop/default.nix @@ -0,0 +1,11 @@ +{ lib, namespace, ... }: +let + inherit (lib) mkOption types; +in +{ + options.${namespace}.isDesktop = mkOption { + type = with types; bool; + default = false; + description = "Whether this machine is used as a graphical desktop."; + }; +}