diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-04-26 00:37:44 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-04-26 00:37:44 -0400 |
| commit | ad78ef6129b918582034f1a0f0933fe8f3dc532f (patch) | |
| tree | 2d1866f0168958edae45d6b27de1a277150444de /audio.nix | |
| parent | modularize hjem (diff) | |
| download | nixos-ad78ef6129b918582034f1a0f0933fe8f3dc532f.tar.gz nixos-ad78ef6129b918582034f1a0f0933fe8f3dc532f.tar.bz2 nixos-ad78ef6129b918582034f1a0f0933fe8f3dc532f.zip | |
modularize audio
Diffstat (limited to '')
| -rw-r--r-- | audio.nix | 33 |
1 files changed, 33 insertions, 0 deletions
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" +# } +# ''; +# }; + + +} |
