This repository has been archived on 2025-08-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
t14_legacy_config/home/apps/docs.nix
2022-11-29 21:29:21 -06:00

20 lines
408 B
Nix

{ config, lib, pkgs, ... } :
with lib;
let
cfg = config.local.apps.docs;
in
{
options.local.apps.docs.enable = mkEnableOption "Doc management tools";
config = mkIf cfg.enable {
home.packages = with pkgs; [
libreoffice-fresh
okular
pdfarranger
xournal
];
xdg.mimeApps.defaultApplications = {
"application/pdf" = [ "org.kde.okular.desktop" ];
};
};
}