aboutsummaryrefslogtreecommitdiff
path: root/modules/home/suites/media
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/suites/media')
-rw-r--r--modules/home/suites/media/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/home/suites/media/default.nix b/modules/home/suites/media/default.nix
index b99d064..2f44f20 100644
--- a/modules/home/suites/media/default.nix
+++ b/modules/home/suites/media/default.nix
@@ -2,6 +2,7 @@
with lib; with lib.${namespace}; let
cfg = config.${namespace}.suites.media;
+ desktop = config.${namespace}.desktop;
in {
options.${namespace}.suites.media = with types; {
enable = mkEnableOption "media";
@@ -9,7 +10,7 @@ in {
config = mkIf cfg.enable {
cxl = {
- apps = {
+ apps = mkIf desktop.enable {
feh.enable = true;
mpv.enable = true;