diff options
| author | aristote <quentin.aristote@irif.fr> | 2023-04-17 15:47:36 +0200 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2023-04-17 15:47:36 +0200 |
| commit | afc57ba1392819eb544d863f4e078f43afea0a34 (patch) | |
| tree | c68d64096d8857cd963a225cfd43631fa887a4a7 /modules | |
| parent | 5aee784781b8835fda4672845e7d9284ffb3b4dd (diff) | |
home: identities: work: enable evince pdf viewer
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home-manager/personal/identities.nix | 6 |
1 files 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"; + }; }; } |
