home: add feh

This commit is contained in:
Bruno BELANYI 2021-05-07 19:35:47 +02:00
parent 384e801553
commit e82d510c0c
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;
};
}