From bd2da57e04a284a70ad35056b1a9fcdf74b78bc2 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 16 Oct 2020 08:47:58 +0200 Subject: Add wywozik and default programs --- programs/default_programms.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 programs/default_programms.nix (limited to 'programs/default_programms.nix') diff --git a/programs/default_programms.nix b/programs/default_programms.nix new file mode 100644 index 0000000..8bed73a --- /dev/null +++ b/programs/default_programms.nix @@ -0,0 +1,26 @@ +{ config, ... }: + +{ + xdg.configHome."mimeapps.list".text = '' + [Default Applications] + + application/rss+xml=larbs-news.desktop + x-scheme-handler/mailto=larbs-mail.desktop; + x-scheme-handler/gemini=amfora.desktop + + # xdg-open will use these settings to determine how to open filetypes. + # These .desktop entries can also be seen and changed in ~/.local/share/applications/ + + text/x-shellscript=text.desktop; + x-scheme-handler/magnet=torrent.desktop; + application/x-bittorrent=torrent.desktop; + text/plain=text.desktop; + application/postscript=pdf.desktop; + application/pdf=pdf.desktop; + image/png=img.desktop; + image/jpeg=img.desktop; + image/gif=img.desktop; + video/x-matroska=video.desktop + x-scheme-handler/lbry=lbry.desktop + inode/directory=file.desktop + ''; -- cgit 1.4.1