Make zathura the default for opening pdf files
This commit is contained in:
parent
a94ba0499d
commit
de5e4fe049
|
@ -87,9 +87,10 @@
|
|||
|
||||
home.shellAliases.pdf = "zathura --fork";
|
||||
|
||||
# Make zathura the default app for opening pdfs.
|
||||
xdg.mimeApps.defaultApplications."application/pdf" = [ "org.pwmt.zathura.desktop" ];
|
||||
|
||||
# {{{ Persistence
|
||||
satellite.persistence.at.state.apps.zathura.directories = [
|
||||
"${config.xdg.dataHome}/zathura"
|
||||
];
|
||||
satellite.persistence.at.state.apps.zathura.directories = [ "${config.xdg.dataHome}/zathura" ];
|
||||
# }}}
|
||||
}
|
||||
|
|
|
@ -66,6 +66,9 @@ in
|
|||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = lib.mkForce "sd-switch";
|
||||
|
||||
# Enable default application management
|
||||
xdg.mimeApps.enable = true;
|
||||
|
||||
# Tell sops-nix to use ssh keys for decrypting secrets
|
||||
sops.age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue