diff options
author | Alan Pearce | 2017-09-09 14:21:03 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 16:49:30 +0200 |
commit | 7b6b9247cde2aee34b09c738dcfa8966e0852d51 (patch) | |
tree | 8288d479740f8b726068df69a84c25ac07a6c601 | |
parent | 057e1926729ababa1cc6533e6ff5b5e52575513d (diff) | |
download | nixos-configuration-7b6b9247cde2aee34b09c738dcfa8966e0852d51.tar.lz nixos-configuration-7b6b9247cde2aee34b09c738dcfa8966e0852d51.tar.zst nixos-configuration-7b6b9247cde2aee34b09c738dcfa8966e0852d51.zip |
Add audio configuration
-rw-r--r-- | modules/audio.nix | 12 | ||||
-rw-r--r-- | satoshipad.nix | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/audio.nix b/modules/audio.nix new file mode 100644 index 0000000..f504657 --- /dev/null +++ b/modules/audio.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ hardware.pulseaudio = { + enable = true; + support32Bit = true; + }; + + environment.systemPackages = with pkgs; [ + pamixer + pavucontrol + ]; +} diff --git a/satoshipad.nix b/satoshipad.nix index 9d1cbe6..7002cf9 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -6,6 +6,7 @@ ./modules/grub2.nix ./modules/laptop.nix ./modules/thinkpad.nix + ./modules/audio.nix ]; networking.hostName = "satoshipad"; |