ft (wip): big initial config
This commit is contained in:
1 parent
4aead77c60
commit
7a07c37bc3
19 files changed
+1173
No files matched your search
@@ -0,0 +1,39 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
software.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
|
||||
# disable automatic gain control for specific apps
|
||||
extraConfig.pipewire-pulse."10-block-source-volume.conf"."pulse.rules" = [
|
||||
{
|
||||
matches = [
|
||||
{ "application.name" = "~Chromium.*"; }
|
||||
{ "application.process.binary" = "Discord"; }
|
||||
{ "application.process.binary" = "vesktop"; }
|
||||
# TODO: add element to this list
|
||||
];
|
||||
actions.quirks = [ "block-source-volume" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.nix-ld.libraries = [ pkgs.pipewire ];
|
||||
|
||||
# home-manager.users.djai.home.packages = with pkgs; [
|
||||
# pavucontrol
|
||||
# qpwgraph
|
||||
# ];
|
||||
|
||||
users.users.djai.packages = with pkgs; [
|
||||
pavucontrol
|
||||
qpwgraph
|
||||
];
|
||||
}
|
||||