From afc57ba1392819eb544d863f4e078f43afea0a34 Mon Sep 17 00:00:00 2001 From: aristote Date: Mon, 17 Apr 2023 15:47:36 +0200 Subject: home: identities: work: enable evince pdf viewer --- modules/home-manager/personal/identities.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/personal/identities.nix b/modules/home-manager/personal/identities.nix index 90cee67..a3b0f55 100644 --- a/modules/home-manager/personal/identities.nix +++ b/modules/home-manager/personal/identities.nix @@ -88,7 +88,9 @@ in { }; }; - home.packages = lib.optionals cfg.personal (with pkgs; [ ]) - ++ lib.optionals cfg.work (with pkgs; [ zotero ]); + home = lib.mkIf cfg.work { + packages = with pkgs; [ zotero evince ]; + shellAliases.VIEWER = "evince"; + }; }; } -- cgit v1.2.3