about summary refs log tree commit diff
path: root/home/evince/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/evince/default.nix')
-rw-r--r--home/evince/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/home/evince/default.nix b/home/evince/default.nix
new file mode 100644
index 0000000..16abc57
--- /dev/null
+++ b/home/evince/default.nix
@@ -0,0 +1,9 @@
+{ lib, config, pkgs, ... }:
+let cfg = config.my.home.evince;
+in {
+  options.my.home.evince = with lib; {
+    enable = mkEnableOption "evince configuration";
+  };
+
+  config.home.packages = with pkgs; lib.mkIf cfg.enable ([ gnome3.evince ]);
+}