Refactor codebase to use nix modules
This commit is contained in:
parent
a4735423b4
commit
ffada2703c
114 changed files with 1018 additions and 744 deletions
13
hmModules/apps/media-viewers/feh/default.nix
Normal file
13
hmModules/apps/media-viewers/feh/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.feh = {
|
||||
enable = lib.mkEnableOption "Enables feh";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.feh.enable {
|
||||
programs.feh = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue