diff --git a/nixosModules/desktop/default.nix b/nixosModules/desktop/default.nix index 7c01132e..240fc3cb 100644 --- a/nixosModules/desktop/default.nix +++ b/nixosModules/desktop/default.nix @@ -15,11 +15,6 @@ ./waylandComp.nix ]; - options = { - alyraffauf.desktop.enable = - lib.mkEnableOption "Enable basic GUI X11 and Wayland environment."; - }; - config = lib.mkIf config.alyraffauf.desktop.enable { environment.sessionVariables.NIXOS_OZONE_WL = "1"; diff --git a/nixosModules/options.nix b/nixosModules/options.nix index a960a907..87c0e183 100644 --- a/nixosModules/options.nix +++ b/nixosModules/options.nix @@ -142,6 +142,8 @@ }; }; desktop = { + enable = + lib.mkEnableOption "Enable basic GUI X11 and Wayland environment."; cinnamon.enable = lib.mkEnableOption "Cinnamon desktop session."; gnome = {