mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 06:11:55 -05:00
nixos/desktop: move options to options.nix
This commit is contained in:
parent
b329714206
commit
20ddad7380
|
@ -15,11 +15,6 @@
|
||||||
./waylandComp.nix
|
./waylandComp.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
|
||||||
alyraffauf.desktop.enable =
|
|
||||||
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.desktop.enable {
|
config = lib.mkIf config.alyraffauf.desktop.enable {
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
desktop = {
|
desktop = {
|
||||||
|
enable =
|
||||||
|
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
|
||||||
cinnamon.enable =
|
cinnamon.enable =
|
||||||
lib.mkEnableOption "Cinnamon desktop session.";
|
lib.mkEnableOption "Cinnamon desktop session.";
|
||||||
gnome = {
|
gnome = {
|
||||||
|
|
Loading…
Reference in a new issue