From b20a94dc75cdd76f105c601867d3d165ae249461 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 23 Feb 2025 15:44:26 +0100 Subject: feat(workstation): add typst and zathura --- nixos/profiles/workstation/create.nix | 2 ++ nixos/profiles/workstation/graphical.nix | 3 +++ 2 files changed, 5 insertions(+) (limited to 'nixos/profiles') diff --git a/nixos/profiles/workstation/create.nix b/nixos/profiles/workstation/create.nix index 1fc7a28..4ac9e29 100644 --- a/nixos/profiles/workstation/create.nix +++ b/nixos/profiles/workstation/create.nix @@ -4,6 +4,8 @@ environment.systemPackages = with pkgs; [ graphviz-nox # for dot + typst + gimp krita ]; diff --git a/nixos/profiles/workstation/graphical.nix b/nixos/profiles/workstation/graphical.nix index bc1d175..fea4cbd 100644 --- a/nixos/profiles/workstation/graphical.nix +++ b/nixos/profiles/workstation/graphical.nix @@ -30,6 +30,8 @@ # graphical tools imv mpv + zathura + # TODO: zathura doesn't adjust zoom on PDF open even though adjust-open="best-fit" is the default according to zathurarc(5) element-desktop # set and forget @@ -48,6 +50,7 @@ in { "text/html" = defaultBrowser; + "application/pdf" = "org.pwmt.zathura.desktop"; "x-scheme-handler/http" = defaultBrowser; "x-scheme-handler/https" = defaultBrowser; -- cgit v1.2.3