From 4a94fb7a253c25948cc5c23715ee73a8b5fdfe13 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 7 Sep 2024 14:06:49 -0500 Subject: [PATCH] refactor(hm/price): extract zathura to its own conf directory --- users/price/conf/zathura/default.nix | 11 +++++++++++ users/price/home.nix | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 users/price/conf/zathura/default.nix diff --git a/users/price/conf/zathura/default.nix b/users/price/conf/zathura/default.nix new file mode 100644 index 00000000..3f811f33 --- /dev/null +++ b/users/price/conf/zathura/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +{ + home.packages = [ + pkgs.zathura + ]; + xdg.mimeApps.defaultApplications = { + "application/pdf" = [ + "org.pwmt.zathura.desktop" + ]; + }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 612f2fc9..2de7a5ce 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -48,7 +48,6 @@ in vesktop kooha libreoffice-fresh - zathura nix-prefetch-scripts mako wl-clipboard