From d56dd7ec4c256fc7315a370ecd40cefd0fffc4fe Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 17:28:48 -0800 Subject: migration: feh --- hosts/c-pc/home.nix | 1 - snowfall/modules/home/apps/feh/default.nix | 15 +++++++++++++++ snowfall/modules/home/suites/media/default.nix | 5 ++++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 snowfall/modules/home/apps/feh/default.nix diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix index 3ae9352..c9a4a94 100644 --- a/hosts/c-pc/home.nix +++ b/hosts/c-pc/home.nix @@ -30,7 +30,6 @@ }; programs = { - feh.enable = true; tmux.enable = true; zoxide.enable = true; diff --git a/snowfall/modules/home/apps/feh/default.nix b/snowfall/modules/home/apps/feh/default.nix new file mode 100644 index 0000000..af14289 --- /dev/null +++ b/snowfall/modules/home/apps/feh/default.nix @@ -0,0 +1,15 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.apps.feh; +in { + options.${namespace}.apps.feh = with types; { + enable = mkEnableOption "feh"; + }; + + config = mkIf cfg.enable { + programs.feh = { + enable = true; + }; + }; +} diff --git a/snowfall/modules/home/suites/media/default.nix b/snowfall/modules/home/suites/media/default.nix index 7522d42..b99d064 100644 --- a/snowfall/modules/home/suites/media/default.nix +++ b/snowfall/modules/home/suites/media/default.nix @@ -10,8 +10,11 @@ in { config = mkIf cfg.enable { cxl = { apps = { - cmus.enable = true; + feh.enable = true; mpv.enable = true; + + cmus.enable = true; + jellyfin.enable = true; }; -- cgit v1.2.3