From e82d510c0c53ffdd342afd1c3e6586299e05447c Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 7 May 2021 19:35:47 +0200 Subject: [PATCH] home: add feh --- home/default.nix | 1 + home/feh.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 home/feh.nix 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; + }; +}