Advertisement
Guest User

Untitled

a guest
Mar 28th, 2021
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. { config, lib, pkgs, ... }:
  2.  
  3.  
  4. {
  5. imports =
  6. [
  7. <nixos-hardware/lenovo/thinkpad/t460s>
  8. <nixos-unstable/nixos/modules/services/desktops/pipewire/pipewire.nix>
  9. # Include the results of the hardware scan.
  10. ./hardware-configuration.nix
  11. ];
  12. disabledModules = [
  13. "services/desktops/pipewire.nix"
  14. ];
  15.  
  16. # Enable sound.
  17. sound.enable = true;
  18. hardware.pulseaudio.enable = false; # explicitly set to false for pipewire
  19. services.pipewire = {
  20. enable = true;
  21. alsa = {
  22. enable = true;
  23. support32Bit = true;
  24. };
  25. pulse.enable = true;
  26. };
  27.  
  28. # ...
  29. }
  30.  
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement