about summary refs log tree commit diff
path: root/users/fcuny/desktop/media.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-18 17:41:01 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-18 17:41:01 -0800
commitf544e22cc0f8107eb1308b8fccb483f09f71e27a (patch)
treea653063d44b6971fab5db673f9d62094bc9496f5 /users/fcuny/desktop/media.nix
parentxserver: add at-spi2-core package (diff)
downloadworld-f544e22cc0f8107eb1308b8fccb483f09f71e27a.tar.gz
media: reorganize in multiples modules
Add two new modules to synchronize videos and musics to the NAS.
Diffstat (limited to 'users/fcuny/desktop/media.nix')
-rw-r--r--users/fcuny/desktop/media.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/users/fcuny/desktop/media.nix b/users/fcuny/desktop/media.nix
deleted file mode 100644
index 9a2835f..0000000
--- a/users/fcuny/desktop/media.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
-  home.packages = [
-    pkgs.mpd
-    pkgs.ncmpcpp
-    pkgs.pavucontrol
-  ];
-
-  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"
-      }
-    '';
-  };
-}