diff --git a/home/hosts/work/default.nix b/home/hosts/work/default.nix index 239148e..48e8b39 100644 --- a/home/hosts/work/default.nix +++ b/home/hosts/work/default.nix @@ -85,6 +85,7 @@ secrets.vault.enable = true; ticketing.enable = true; vscode.enable = true; + zathura.enable = true; services.home-manager.autoUpgrade = { enable = true; diff --git a/home/modules/zathura/default.nix b/home/modules/zathura/default.nix new file mode 100644 index 0000000..ec82ae5 --- /dev/null +++ b/home/modules/zathura/default.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: + +let + cfg = config.zathura; +in +{ + options.zathura.enable = lib.mkEnableOption "zathura"; + + config = lib.mkIf cfg.enable { + programs.zathura = { + enable = true; + extraConfig = builtins.readFile ./zathurarc; + }; + }; +} diff --git a/dots/.config/zathura/zathurarc b/home/modules/zathura/zathurarc similarity index 100% rename from dots/.config/zathura/zathurarc rename to home/modules/zathura/zathurarc