aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/services
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-03-05 22:17:31 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-03-05 22:17:31 -0600
commite6edbad14d8255743c7b259a1985db5fb5bd4e91 (patch)
treeab535ebf7942b3935b8ec35158291c09226faf73 /macos.local/.flake/home/services
parentc1f8c535d59658dd29d199c62326b9436a489ecf (diff)
system changes
Diffstat (limited to 'macos.local/.flake/home/services')
-rw-r--r--macos.local/.flake/home/services/core.nix.org12
-rw-r--r--macos.local/.flake/home/services/mpd.nix.org49
2 files changed, 0 insertions, 61 deletions
diff --git a/macos.local/.flake/home/services/core.nix.org b/macos.local/.flake/home/services/core.nix.org
deleted file mode 100644
index d504770..0000000
--- a/macos.local/.flake/home/services/core.nix.org
+++ /dev/null
@@ -1,12 +0,0 @@
-#+title: Service Configuration
-
-Load service configurations.
-#+begin_src nix
- { config, pkgs, ... }:
-
- {
- imports = [
- ./mpd.nix
- ];
- }
-#+end_src
diff --git a/macos.local/.flake/home/services/mpd.nix.org b/macos.local/.flake/home/services/mpd.nix.org
deleted file mode 100644
index f3f7f8b..0000000
--- a/macos.local/.flake/home/services/mpd.nix.org
+++ /dev/null
@@ -1,49 +0,0 @@
-#+title: =mpd= Configuration
-
-Configure =mpd= as a music player. =services.mpd= only works on Linux for some reason so I manually write out the configuration here. This is actually a really gross setup and requires manually creating files in =.mpd= and manually starting =mpd=, but it does seem to work at least.
-#+begin_src nix
- { config, pkgs, ... }:
-
- {
- home.packages = with pkgs; [
- mpd
- ];
- home.file."./.mpdconf".text = ''
- music_directory "/Volumes/Media/Music"
- playlist_directory "~/.mpd/playlists"
- db_file "~/.mpd/mpd.db"
- log_file "~/.mpd/mpd.log"
- pid_file "~/.mpd/mpd.pid"
- state_file "~/.mpd/mpdstate"
- auto_update "yes"
- auto_update_depth "2"
- follow_outside_symlinks "yes"
- follow_inside_symlinks "yes"
-
- audio_output {
- type "osx"
- name "CoreAudio"
- mixer_type "software"
- }
-
- decoder {
- plugin "mp4ff"
- enabled "no"
- }
-
- bind_to_address "127.0.0.1"
- port "6600"
- user "jjanzen"
-
- # Visualizer
- audio_output {
- type "fifo"
- name "my_fifo"
- path "/tmp/mpd.fifo"
- format "44100:16:2"
- auto_resample "no"
- use_mmap "yes"
- }
- '';
- }
-#+end_src