diff options
Diffstat (limited to 'modules/office/zathura')
| -rw-r--r-- | modules/office/zathura/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/office/zathura/default.nix b/modules/office/zathura/default.nix index db742ec..dd49c72 100644 --- a/modules/office/zathura/default.nix +++ b/modules/office/zathura/default.nix @@ -2,8 +2,12 @@ { config, lib, + pkgs, ... }: +let + cfg = config.office.zathura; +in { options.office.zathura = { enable = lib.mkEnableOption "Enables zathura."; @@ -15,7 +19,7 @@ }; }; - config = lib.mkIf config.office.zathura.enable { + config = lib.mkIf cfg.enable { programs.zathura = { enable = true; }; |
