diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-03-13 22:03:45 -0500 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-03-13 22:03:45 -0500 |
commit | b01c454264fc80338ab082f7a706c1c2493cf80e (patch) | |
tree | 6608986ce9c39d22907f62e6933b8b6de50f3d97 | |
parent | b9dc0ced1e14878cdd6c5511635a3e6797cb5d3c (diff) |
system changes
-rw-r--r-- | macos.local/flake/home/core.nix.org | 1 | ||||
-rw-r--r-- | macos.local/flake/home/programs/core.nix.org | 1 | ||||
-rw-r--r-- | macos.local/flake/home/programs/ncmpcpp.nix.org | 28 | ||||
-rw-r--r-- | macos.local/flake/home/services/core.nix.org | 12 | ||||
-rw-r--r-- | macos.local/flake/home/services/mpd.nix.org | 49 |
5 files changed, 0 insertions, 91 deletions
diff --git a/macos.local/flake/home/core.nix.org b/macos.local/flake/home/core.nix.org index cb2b34d..f92adc3 100644 --- a/macos.local/flake/home/core.nix.org +++ b/macos.local/flake/home/core.nix.org @@ -10,7 +10,6 @@ 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/programs/core.nix.org b/macos.local/flake/home/programs/core.nix.org index 65eb28b..835970f 100644 --- a/macos.local/flake/home/programs/core.nix.org +++ b/macos.local/flake/home/programs/core.nix.org @@ -10,7 +10,6 @@ Import configurations for programs and install programs with no configuration. ./fastfetch.nix ./ghostty.nix ./git.nix - ./ncmpcpp.nix ./neovim.nix ./ssh.nix ./zsh/core.nix diff --git a/macos.local/flake/home/programs/ncmpcpp.nix.org b/macos.local/flake/home/programs/ncmpcpp.nix.org deleted file mode 100644 index 6c697ef..0000000 --- a/macos.local/flake/home/programs/ncmpcpp.nix.org +++ /dev/null @@ -1,28 +0,0 @@ -#+title: =ncmpcpp= Configuration - -Enable =vi=-like controls and specify directories and =mpd= address. -#+begin_src nix - { config, pkgs, ... }: - - { - programs.ncmpcpp = { - enable = true; - bindings = [ - { key = "j"; command = "scroll_down"; } - { key = "k"; command = "scroll_up"; } - { key = "h"; command = "previous_column"; } - { key = "l"; command = "next_column"; } - { key = "g"; command = "move_home"; } - { key = "G"; command = "move_end"; } - { key = "n"; command = "next_found_item"; } - { key = "N"; command = "previous_found_item"; } - ]; - mpdMusicDir = "/Volumes/Media/Music"; - settings = { - ncmpcpp_directory = "~/.config/nmcpcpp"; - mpd_host = "localhost"; - mpd_port = "6600"; - }; - }; - } -#+end_src 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 |