about summary refs log tree commit diff
path: root/programs/default_programms.nix
blob: 8bed73a41a99f7f9360ec65998a4a64687f55175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
  '';