home: added zathura config

This commit is contained in:
Tigor Hutasuhut 2024-06-19 16:56:10 +07:00
parent 93c2e8ac5d
commit 9390d5ebdd
4 changed files with 21 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, unstable, ... }: { ... }:
{ {
imports = [ imports = [
./bitwarden.nix ./bitwarden.nix
@ -24,6 +24,7 @@
./vscode.nix ./vscode.nix
./whatsapp.nix ./whatsapp.nix
./zsh.nix ./zsh.nix
./zathura.nix
]; ];
programs.fzf = { programs.fzf = {

11
home/programs/zathura.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
let
cfg = config.profile.home.programs.zathura;
in
{
config = lib.mkIf cfg.enable {
programs.zathura = {
enable = true;
};
};
}

View file

@ -72,5 +72,9 @@
nextcloud.enable = lib.mkEnableOption "nextcloud"; nextcloud.enable = lib.mkEnableOption "nextcloud";
cockpit.enable = lib.mkEnableOption "cockpit"; cockpit.enable = lib.mkEnableOption "cockpit";
home.programs = {
zathura.enable = lib.mkEnableOption "zathura";
floorp.enable = lib.mkEnableOption "floorp";
};
}; };
} }

View file

@ -76,5 +76,9 @@ in
microsoft-edge.enable = true; microsoft-edge.enable = true;
nextcloud.enable = true; nextcloud.enable = true;
home.programs = {
zathura.enable = true;
};
}; };
} }