mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 03:51:53 -05:00
nixos/desktop: move options to options.nix
This commit is contained in:
parent
b329714206
commit
20ddad7380
|
@ -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";
|
||||
|
||||
|
|
|
@ -142,6 +142,8 @@
|
|||
};
|
||||
};
|
||||
desktop = {
|
||||
enable =
|
||||
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
|
||||
cinnamon.enable =
|
||||
lib.mkEnableOption "Cinnamon desktop session.";
|
||||
gnome = {
|
||||
|
|
Loading…
Reference in a new issue