diff options
-rw-r--r-- | macos.local/.flake/home/core.nix.org | 1 | ||||
-rw-r--r-- | macos.local/.flake/home/services/mpd.nix.org | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/macos.local/.flake/home/core.nix.org b/macos.local/.flake/home/core.nix.org index f92adc3..cb2b34d 100644 --- a/macos.local/.flake/home/core.nix.org +++ b/macos.local/.flake/home/core.nix.org @@ -10,6 +10,7 @@ Set up home manager for my user account and import submodules. Define my user as ./fonts.nix ./programs/core.nix ./scripts/core.nix + ./services/core.nix ]; home.stateVersion = "24.05"; diff --git a/macos.local/.flake/home/services/mpd.nix.org b/macos.local/.flake/home/services/mpd.nix.org index 6d9d6de..dc4131e 100644 --- a/macos.local/.flake/home/services/mpd.nix.org +++ b/macos.local/.flake/home/services/mpd.nix.org @@ -5,17 +5,17 @@ Configure =mpd= as a music player. { config, pkgs, ... }: { - services.mpd = { - enable = true; - musicDirectory = "/Volumes/Media/Music"; - extraConfig = '' + home.packages = with pkgs; [ + mpd + ]; + home.file."./.config/mpd/mpd.conf".text = '' + music_directory = "/Volumes/Media/Music"; audio_output { type "osx" name "CoreAudio" mixer_type "software" enabled "yes" } - ''; - }; + ''; } #+end_src |