summaryrefslogtreecommitdiff
path: root/modules/home-manager
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2023-04-17 15:47:36 +0200
committeraristote <quentin.aristote@irif.fr>2023-04-17 15:47:36 +0200
commitafc57ba1392819eb544d863f4e078f43afea0a34 (patch)
treec68d64096d8857cd963a225cfd43631fa887a4a7 /modules/home-manager
parent5aee784781b8835fda4672845e7d9284ffb3b4dd (diff)
home: identities: work: enable evince pdf viewer
Diffstat (limited to 'modules/home-manager')
-rw-r--r--modules/home-manager/personal/identities.nix6
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";
+ };
};
}