mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
27 lines
596 B
Nix
27 lines
596 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
|
in
|
|
{
|
|
sound.enable = true;
|
|
#hardware.pulseaudio.enable = true;
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
#jack.enable = true;
|
|
};
|
|
|
|
programs.noisetorch.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
unstable.noisetorch
|
|
pavucontrol
|
|
playerctl
|
|
pulseaudio # provide pactl to enable keyboard shortcuts
|
|
];
|
|
}
|