Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created June 8, 2017 01:30
Show Gist options
  • Save samueldr/42a8ba549d0bed5defd72bee93738a76 to your computer and use it in GitHub Desktop.
Save samueldr/42a8ba549d0bed5defd72bee93738a76 to your computer and use it in GitHub Desktop.
/etc/nixos ⬤ cat modules/wireless.nix
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
rfkill
blueman
];
# Bluetooth
hardware.bluetooth.enable = true;
}
/etc/nixos ⬤ cat modules/audio.nix
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
pavucontrol
paprefs
];
# Audio configuration
hardware.pulseaudio.enable = true;
hardware.pulseaudio.package = pkgs.pulseaudioFull; # Full for bluetooth audio support.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment