automatically enable graphic apps by default
This commit is contained in:
parent
be65eb3b88
commit
b431744859
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue