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 ./bluetooth.nix
./direnv.nix ./direnv.nix
./documentation.nix ./documentation.nix
./feh.nix
./firefox ./firefox
./flameshot.nix ./flameshot.nix
./gammastep.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;
};
}