add zathura

This commit is contained in:
Dmitriy Kholkin 2023-01-26 00:34:20 +03:00
parent 3dc27fbbb2
commit 97ae639a6a
3 changed files with 26 additions and 7 deletions

View File

@ -19,11 +19,6 @@ with config.deviceSpecific;
};
};
config = rec {
defaultApplications = {
pdf = {
cmd = "${pkgs.zathura}/bin/zathura";
desktop = "zathura";
};
};
defaultApplications = {};
};
}

View File

@ -0,0 +1,23 @@
{ config, pkgs, lib, ... }:
let
home = config.home-manager.users.${config.mainuser};
zathura-pkg = home.programs.zathura.package;
in{
defaultApplications = {
pdf = {
cmd = lib.getExe zathura-pkg;
desktop = "zathura";
};
};
home-manager.users.${config.mainuser} = {
programs.zathura = {
enable = true;
extraConfig = ''
set selection-clipboard clipboard
'';
# mappings = {};
# options = {};
};
};
}

View File

@ -3,7 +3,7 @@
./base.nix
inputs.base16.hmModule
seadrive
# seadrive
xray
applications-setup
@ -31,6 +31,7 @@
tor-browser
vscode
waydroid
zathura
aria2
copyq