feat(zathura): add 'zathura' module
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
secrets.vault.enable = true;
|
||||
ticketing.enable = true;
|
||||
vscode.enable = true;
|
||||
zathura.enable = true;
|
||||
|
||||
services.home-manager.autoUpgrade = {
|
||||
enable = true;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.zathura;
|
||||
in
|
||||
{
|
||||
options.zathura.enable = lib.mkEnableOption "zathura";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./zathurarc;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user