From ad78ef6129b918582034f1a0f0933fe8f3dc532f Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sun, 26 Apr 2026 00:37:44 -0400 Subject: modularize audio --- audio.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 audio.nix (limited to 'audio.nix') diff --git a/audio.nix b/audio.nix new file mode 100644 index 0000000..740e8a5 --- /dev/null +++ b/audio.nix @@ -0,0 +1,33 @@ +{ config, pkgs, ... }: +{ + + services.pipewire = { + enable = true; + audio.enable = true; + pulse.enable = true; + alsa.enable = true; + }; + + services.pipewire.wireplumber.enable = true; + hardware = { + graphics = { + enable = true; + }; + }; + +# services.mpd = { +# enable = true; +# musicDirectory = "${config.home.homeDirectory}/Music"; +# playlistDirectory = "${config.home.homeDirectory}/.playlists"; +# # mixer_type "none" # maybe mess around with this some time, it will turn off volume in rmpc, but apparently it will make the sound more quality for music +# extraConfig = '' +# auto_update "yes" +# audio_output { +# type "pulse" +# name "PipeWire Output" +# } +# ''; +# }; + + +} -- cgit v1.3.1