move sound into a common module
This commit is contained in:
parent
a7b7ad4d84
commit
7477a7bd93
4 changed files with 11 additions and 12 deletions
8
hosts/_common/components/audio.nix
Normal file
8
hosts/_common/components/audio.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
# Enable sound.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
hardware.pulseaudio.package = pkgs.pulseaudioFull;
|
||||
environment.systemPackages = [ pkgs.pavucontrol ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue