From 59180328cda59817d71cd58c8f48ead047375064 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 17 Feb 2025 02:21:56 +0300 Subject: 2025-02-17 --- modules/zathura.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/zathura.nix') diff --git a/modules/zathura.nix b/modules/zathura.nix index cef841c..8d0dc96 100644 --- a/modules/zathura.nix +++ b/modules/zathura.nix @@ -1,12 +1,11 @@ { config, lib, ... }: -with lib; let cfg = config.nixfiles.modules.zathura; in { - options.nixfiles.modules.zathura.enable = mkEnableOption "Zathura PDF reader"; + options.nixfiles.modules.zathura.enable = lib.mkEnableOption "Zathura PDF reader"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { nixfiles.modules.common.xdg.defaultApplications."org.pwmt.zathura" = [ "application/pdf" "application/epub+zip" -- cgit 1.4.1