22 lines
345 B
Nix
22 lines
345 B
Nix
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
cfg = config.sneeuwvlok.desktop.gnome;
|
|
in {
|
|
options.sneeuwvlok.desktop.gnome = {
|
|
enable =
|
|
mkEnableOption "Enable Gnome"
|
|
// {
|
|
default = config.sneeuwvlok.desktop.use == "gnome";
|
|
};
|
|
};
|
|
|
|
config =
|
|
mkIf cfg.enable {
|
|
};
|
|
}
|