nixos/desktop: move options to options.nix

This commit is contained in:
Aly Raffauf 2024-06-21 18:03:46 -04:00
parent b329714206
commit 20ddad7380
2 changed files with 2 additions and 5 deletions

View file

@ -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";

View file

@ -142,6 +142,8 @@
};
};
desktop = {
enable =
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
cinnamon.enable =
lib.mkEnableOption "Cinnamon desktop session.";
gnome = {