aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-13 22:50:36 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-13 22:50:36 -0600
commit06fb089e54ed997410b1747ff16aa55f75c802c0 (patch)
tree7762e2ed4dfb7a9ff8d34ac681e40633c02a16d4
parent5fce4b6474ffcd616aeb533a55d9729bdeac5cd9 (diff)
system changes
-rw-r--r--macos.local/.flake/home/core.nix.org1
-rw-r--r--macos.local/.flake/home/services/mpd.nix.org12
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