aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/c-pc/home.nix1
-rw-r--r--snowfall/modules/home/apps/feh/default.nix15
-rw-r--r--snowfall/modules/home/suites/media/default.nix5
3 files changed, 19 insertions, 2 deletions
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;
};