system changes
This commit is contained in:
parent
5fce4b6474
commit
06fb089e54
2 changed files with 7 additions and 6 deletions
|
@ -10,6 +10,7 @@ Set up home manager for my user account and import submodules. Define my user as
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./programs/core.nix
|
./programs/core.nix
|
||||||
./scripts/core.nix
|
./scripts/core.nix
|
||||||
|
./services/core.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|
|
@ -5,17 +5,17 @@ Configure =mpd= as a music player.
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.mpd = {
|
home.packages = with pkgs; [
|
||||||
enable = true;
|
mpd
|
||||||
musicDirectory = "/Volumes/Media/Music";
|
];
|
||||||
extraConfig = ''
|
home.file."./.config/mpd/mpd.conf".text = ''
|
||||||
|
music_directory = "/Volumes/Media/Music";
|
||||||
audio_output {
|
audio_output {
|
||||||
type "osx"
|
type "osx"
|
||||||
name "CoreAudio"
|
name "CoreAudio"
|
||||||
mixer_type "software"
|
mixer_type "software"
|
||||||
enabled "yes"
|
enabled "yes"
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Add table
Reference in a new issue