diff options
Diffstat (limited to 'modules/music')
-rw-r--r-- | modules/music/default.nix | 3 | ||||
-rw-r--r-- | modules/music/mpd.nix | 34 |
2 files changed, 0 insertions, 37 deletions
diff --git a/modules/music/default.nix b/modules/music/default.nix deleted file mode 100644 index cce3744..0000000 --- a/modules/music/default.nix +++ /dev/null @@ -1,3 +0,0 @@ -[ - ./mpd.nix -] diff --git a/modules/music/mpd.nix b/modules/music/mpd.nix deleted file mode 100644 index 8ee1f1b..0000000 --- a/modules/music/mpd.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ config, lib, pkgs, user, ... }: -with lib; -let - -in -{ - options = { - mpd = { - enable = mkOption { - type = types.bool; - default = false; - }; - }; - }; - - config.home-manager.users.${user} = mkIf (config.mpd.enable) - { - services.mpd = { - enable = true; - musicDirectory = "/home/${user}/mus"; - extraConfig = '' -audio_output { - type "pipewire" - name "Pipewire Output" -} - ''; - }; - - home.packages = with pkgs; [ - mpc-cli - ncmpcpp - ]; - }; -} |