Skip to content

Commit a661fb9

Browse files
committed
Factor out ./cfg/pulseaudio.nix
1 parent 268f258 commit a661fb9

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

cfg/base-medium.nix

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@
77
./desktop-gnome3.nix
88
./dictionary.nix
99
./postfix.nix
10+
./pulseaudio.nix
1011
./syncthing.nix
1112
./virtualisation.nix
1213
];
1314

1415
hardware.sane.enable = true; # scanner support
1516

16-
hardware.pulseaudio = {
17-
enable = true;
18-
package = pkgs.pulseaudioFull;
19-
daemon.config = {
20-
flat-volumes = "no";
21-
};
22-
};
23-
2417
hardware.bluetooth.enable = true;
2518

2619
hardware.opengl.driSupport32Bit = true;

cfg/pulseaudio.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{ config, lib, pkgs, ... }:
2+
3+
{
4+
hardware.pulseaudio = {
5+
enable = true;
6+
package = pkgs.pulseaudioFull;
7+
daemon.config = {
8+
flat-volumes = "no";
9+
};
10+
};
11+
}

0 commit comments

Comments
 (0)