diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-01-07 12:00:08 -0500 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-01-07 12:00:08 -0500 |
commit | 7b79203f54853733d4fae88943829d0e24e6e49f (patch) | |
tree | a352d199fad7453332b9308a6295164157729f27 /modules/music | |
parent | 184bd30bcb303104a4981ac742d8f8961c5477e7 (diff) | |
download | nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.gz nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.bz2 nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.zip |
massive overhaul
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 - ]; - }; -} |