aboutsummaryrefslogtreecommitdiff
path: root/modules/home/apps/feh/default.nix
blob: af14289579f22e36235695a3bf2f108781d1ab51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
    };
  };
}