summaryrefslogtreecommitdiffstats
path: root/audio.nix
blob: 740e8a5882904e693a35459884e5af155fc89cac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
# 		      }
#       	      	'';
#  };


}