feat: add zathura module
This commit is contained in:
parent
9225df75e1
commit
0756463089
25
modules/home/applications/zathura.nix
Normal file
25
modules/home/applications/zathura.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) getExe mkEnableOption mkIf;
|
||||
cfg = config.ataraxia.programs.zathura;
|
||||
in
|
||||
{
|
||||
options.ataraxia.programs.zathura = {
|
||||
enable = mkEnableOption "Enable zathura program";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
defaultApplications.document-viewer = {
|
||||
cmd = getExe config.programs.zathura.package;
|
||||
desktop = "zathura";
|
||||
};
|
||||
};
|
||||
}
|
@ -89,6 +89,7 @@ in
|
||||
ataraxia.programs.thunderbird.enable = mkDefault true;
|
||||
ataraxia.programs.vscode.enable = mkDefault true;
|
||||
ataraxia.programs.walker.enable = mkDefault true;
|
||||
ataraxia.programs.zathura.enable = mkDefault true;
|
||||
ataraxia.wayland.enable = mkDefault true;
|
||||
ataraxia.wayland.hyprland.enable = mkDefault true;
|
||||
ataraxia.wayland.mako.enable = mkDefault true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user