diff --git a/home/default.nix b/home/default.nix index 7c5e807..45065c8 100644 --- a/home/default.nix +++ b/home/default.nix @@ -5,6 +5,7 @@ ./bluetooth.nix ./direnv.nix ./documentation.nix + ./feh.nix ./firefox ./flameshot.nix ./gammastep.nix diff --git a/home/feh.nix b/home/feh.nix new file mode 100644 index 0000000..3a952a2 --- /dev/null +++ b/home/feh.nix @@ -0,0 +1,13 @@ +{ config, lib, ... }: +let + cfg = config.my.home.feh; +in +{ + options.my.home.feh = with lib; { + enable = mkEnableOption "feh configuration"; + }; + + config.programs.feh = lib.mkIf cfg.enable { + enable = true; + }; +}