summaryrefslogtreecommitdiffstats
path: root/audio.nix
blob: 15adf9c961c667c392201730480ac5d76538ef08 (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
{ 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"
  # 		      }
  #       	      	'';
  #  };

}