aboutsummaryrefslogtreecommitdiff
path: root/modules/home/suites/media
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-04-14 19:27:01 -0700
committerCaroline Larimore <caroline@larimo.re>2025-04-14 19:27:01 -0700
commit82aafe0333ac34614a2ee4698ffc218bddd8b9f3 (patch)
treec470179f6b3ad25eaf7a11a80f3cd0976dacf54a /modules/home/suites/media
parentb6d2d71e7b3fde0748cab841b5f1038da420fcdf (diff)
migration: overarching home desktop toggle
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;