From 3922c118011ee988d6d89ec96ee05f5f7061e06f Mon Sep 17 00:00:00 2001 From: James Patrick Date: Wed, 23 Mar 2022 22:41:33 -0400 Subject: [PATCH] Added Enum for graphical protocol. --- modules/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/default.nix b/modules/default.nix index 637b477..817496b 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -5,5 +5,10 @@ description = "Does this actually need X/Wayland"; }; + options.this.graphical.protocol = mkOption { + type = types.enum [ "X11" "Wayland" ]; + default = null; + }; + imports = [ ./applications ./lang ./system ]; }