From 17538a96f340e565d49481ea85a16d462c6bed97 Mon Sep 17 00:00:00 2001 From: Madeline Hashcube Date: Wed, 7 Oct 2026 09:02:04 -0500 Subject: [PATCH] feat: add mpd and mpdscribble (for last.fm scrobbling) --- users/hashcube/services/default.nix | 1 + users/hashcube/services/mpd.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 users/hashcube/services/mpd.nix diff --git a/users/hashcube/services/default.nix b/users/hashcube/services/default.nix index 10a8560..61b5343 100644 --- a/users/hashcube/services/default.nix +++ b/users/hashcube/services/default.nix @@ -11,5 +11,6 @@ ./udiskie.nix ./playerctld.nix ./swayosd.nix + ./mpd.nix ]; } diff --git a/users/hashcube/services/mpd.nix b/users/hashcube/services/mpd.nix new file mode 100644 index 0000000..ea19d2c --- /dev/null +++ b/users/hashcube/services/mpd.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: + +{ + services = { + mpd = { + enable = true; + }; + mpdscribble = { + enable = true; + endpoints."last.fm" = { + username = "hashcube"; + passwordFile = "/home/hashcube/.lastfm_password"; + }; + }; + }; + home.packages = with pkgs; [ + euphonica + ]; +} -- 2.51.2