diff options
author | bd <bdunahu@colostate.edu> | 2024-05-16 03:06:16 -0600 |
---|---|---|
committer | bd <bdunahu@colostate.edu> | 2024-05-16 03:06:16 -0600 |
commit | 2287b602d5d3336dcf0760c9a2a46de7e58a49f8 (patch) | |
tree | 10752cb10a51c5b21f4560a4509c2a663fdbf8d4 | |
parent | 1901f2326216b05d6417e18ef52c8aab11451afa (diff) |
Base transmission
-rw-r--r-- | .config/guix/modules/base.scm | 2 | ||||
-rw-r--r-- | .config/guix/modules/xdg.scm | 12 | ||||
-rw-r--r-- | .config/guix/modules/ymir.scm | 4 |
3 files changed, 17 insertions, 1 deletions
diff --git a/.config/guix/modules/base.scm b/.config/guix/modules/base.scm index a530c05..51cb67a 100644 --- a/.config/guix/modules/base.scm +++ b/.config/guix/modules/base.scm @@ -28,6 +28,7 @@ "recutils" "rsync" "stow" + "transmission" "unzip" "xdotool" "xset"))) @@ -42,6 +43,7 @@ "gnupg" "icecat" "jq" + "librewolf" "mpv" "netcat" "notmuch" 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" diff --git a/.config/guix/modules/ymir.scm b/.config/guix/modules/ymir.scm index 51a1c36..98ae27d 100644 --- a/.config/guix/modules/ymir.scm +++ b/.config/guix/modules/ymir.scm @@ -6,7 +6,7 @@ (define-module (ymir) #:use-module (gnu) #:use-module (dwm-custom)) -(use-service-modules audio desktop networking ssh xorg) +(use-service-modules audio desktop networking ssh xorg file-sharing) ;;;; user (define-public username "bdunahu") @@ -17,6 +17,7 @@ (home-directory (string-append "/home/" username)) (supplementary-groups '("audio" "netdev" + "transmission" "video" "wheel")))) @@ -69,6 +70,7 @@ (permit-root-login 'prohibit-password) (password-authentication? #f))) (service tor-service-type) + (service transmission-daemon-service-type) (service mpd-service-type (mpd-configuration (user user) |