home: add feh

This commit is contained in:
Bruno BELANYI 2021-05-07 19:35:47 +02:00
parent 717c628ff1
commit 6008ac470c
2 changed files with 14 additions and 0 deletions

View file

@ -5,6 +5,7 @@
./bluetooth.nix
./direnv.nix
./documentation.nix
./feh.nix
./firefox
./flameshot.nix
./gammastep.nix

13
home/feh.nix Normal file
View file

@ -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;
};
}