aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-02-08 17:28:48 -0800
committerCaroline Larimore <caroline@larimo.re>2025-04-14 18:58:52 -0700
commitd56dd7ec4c256fc7315a370ecd40cefd0fffc4fe (patch)
tree78ce6c2f2e81249cc434a72eb01c6d13106fc81b /snowfall/modules
parent49c1cdbcf34dc137612c3eaf3c843d49323d1901 (diff)
migration: feh
Diffstat (limited to 'snowfall/modules')
-rw-r--r--snowfall/modules/home/apps/feh/default.nix15
-rw-r--r--snowfall/modules/home/suites/media/default.nix5
2 files changed, 19 insertions, 1 deletions
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;
};