summaryrefslogtreecommitdiff
path: root/.config/guix/modules/xdg.scm
diff options
context:
space:
mode:
Diffstat (limited to '.config/guix/modules/xdg.scm')
-rw-r--r--.config/guix/modules/xdg.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/guix/modules/xdg.scm b/.config/guix/modules/xdg.scm
index 3c122f6..104c215 100644
--- a/.config/guix/modules/xdg.scm
+++ b/.config/guix/modules/xdg.scm
@@ -18,6 +18,18 @@
(publicshare "$HOME")
(templates "$HOME")
(videos "$HOME/media")))
+ (service home-xdg-mime-applications-service-type
+ (home-xdg-mime-applications-configuration
+ (default
+ '((application/x-bittorrent . torrent.desktop)
+ (x-scheme-handler/magnet . torrent.desktop)))
+ (desktop-entries
+ (list
+ (xdg-desktop-entry
+ (file "torrent")
+ (name "Torrent")
+ (type 'application)
+ (config '((exec . "transmission-remote -a %u"))))))))
(simple-service 'dotfiles
home-files-service-type
`((".Xresources"