1
0
Fork 0
mirror of https://github.com/tboerger/nixos-config synced 2024-05-18 10:36:02 +02:00
github.com-tboerger-nixos-c.../home/shared/programs/zathura.nix
2024-01-30 14:00:26 +01:00

27 lines
356 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.profile.programs.zathura;
in
{
options = {
profile = {
programs = {
zathura = {
enable = mkEnableOption "Zathura";
};
};
};
};
config = mkIf cfg.enable {
programs = {
zathura = {
enable = true;
};
};
};
}