automatically enable graphic apps by default

This commit is contained in:
Osman Faruk Bayram 2025-10-21 20:51:32 +03:00
parent be65eb3b88
commit b431744859

View file

@ -1,4 +1,4 @@
{ lib, ... }: { lib, config, ... }:
{ {
options.osbmModules = { options.osbmModules = {
# Desktop Environment # Desktop Environment
@ -80,7 +80,7 @@
graphical = { graphical = {
enable = lib.mkOption { enable = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;
default = false; default = config.osbmModules.desktopEnvironment != "none";
description = "Enable graphical applications"; description = "Enable graphical applications";
}; };
}; };