18 lines
435 B
Nix
18 lines
435 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
calibre
|
|
];
|
|
|
|
xdg.mimeApps = {
|
|
enable = true;
|
|
associations.removed = {
|
|
"application/pdf" = "calibre-ebook-viewer.desktop";
|
|
"application/text" = "calibre-ebook-viewer.desktop";
|
|
"application/textedit" = "calibre-ebook-viewer.desktop";
|
|
"text/anytext" = "calibre-ebook-viewer.desktop";
|
|
"text/plain" = "calibre-ebook-viewer.desktop";
|
|
};
|
|
};
|
|
}
|