summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-02-23 15:44:26 +0100
committerMartin Fischer <martin@push-f.com>2025-02-23 16:10:32 +0100
commitb20a94dc75cdd76f105c601867d3d165ae249461 (patch)
treeadfa77bd1d095687abb162f3e1f6297329aba44e
parentdbd705bb9473186f9634a57aacee4f3e1f444773 (diff)
feat(workstation): add typst and zathura
-rw-r--r--nixos/profiles/workstation/create.nix2
-rw-r--r--nixos/profiles/workstation/graphical.nix3
-rw-r--r--user/zed/settings.json1
3 files changed, 6 insertions, 0 deletions
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;
diff --git a/user/zed/settings.json b/user/zed/settings.json
index f4a2ade..faaeb55 100644
--- a/user/zed/settings.json
+++ b/user/zed/settings.json
@@ -39,6 +39,7 @@
"nix": true,
"sql": true,
"toml": true,
+ "typst": true,
"vscode-dark-modern": true
},
"git": {