aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/desktop/media/mpd.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-03 11:52:29 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-03 11:52:29 -0700
commit68e5bf2438262eea9255f3396754e6225ec30e88 (patch)
treedc34711eb75ea55811d89b37550a0fb6294b4d29 /users/fcuny/desktop/media/mpd.nix
parentnas: add videos to the backups (diff)
downloadinfra-68e5bf2438262eea9255f3396754e6225ec30e88.tar.gz
simplify multimedia for the desktop
I don't need to have systemd units to synchronize medias from a desktop to the NAS: I'll download all the medias on the NAS directly. I don't need to have a module for each type of media, there's not enough configuration to justify that complexity. I also don't need anymore mpd and co. as I'm using navidrome to host the music on the NAS and sublime-music to listen to it on the desktop.
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/media/mpd.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/users/fcuny/desktop/media/mpd.nix b/users/fcuny/desktop/media/mpd.nix
deleted file mode 100644
index a779158..0000000
--- a/users/fcuny/desktop/media/mpd.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- home.packages = [
- pkgs.mpd
- pkgs.ncmpcpp
- ];
-
- xdg.configFile."ncmpcpp/config".source = ../../configs/ncmpcpp/config;
-
- services.mpd = {
- enable = true;
- musicDirectory = config.xdg.userDirs.music;
- network.startWhenNeeded = true;
- extraConfig = ''
- auto_update "yes"
- filesystem_charset "UTF-8"
- zeroconf_enabled "no"
- input {
- plugin "curl"
- }
- audio_output {
- type "pipewire"
- name "PipeWire Sound Server"
- }
- audio_output {
- type "fifo"
- name "visualizer"
- path "/tmp/mpd.fifo"
- format "44100:16:2"
- }
- '';
- };
-}