add zathura
This commit is contained in:
parent
3dc27fbbb2
commit
97ae639a6a
@ -19,11 +19,6 @@ with config.deviceSpecific;
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = rec {
|
config = rec {
|
||||||
defaultApplications = {
|
defaultApplications = {};
|
||||||
pdf = {
|
|
||||||
cmd = "${pkgs.zathura}/bin/zathura";
|
|
||||||
desktop = "zathura";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
23
profiles/applications/zathura.nix
Normal file
23
profiles/applications/zathura.nix
Normal 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 = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -3,7 +3,7 @@
|
|||||||
./base.nix
|
./base.nix
|
||||||
inputs.base16.hmModule
|
inputs.base16.hmModule
|
||||||
|
|
||||||
seadrive
|
# seadrive
|
||||||
xray
|
xray
|
||||||
|
|
||||||
applications-setup
|
applications-setup
|
||||||
@ -31,6 +31,7 @@
|
|||||||
tor-browser
|
tor-browser
|
||||||
vscode
|
vscode
|
||||||
waydroid
|
waydroid
|
||||||
|
zathura
|
||||||
|
|
||||||
aria2
|
aria2
|
||||||
copyq
|
copyq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user