mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Sound module
This commit is contained in:
parent
b0e4c31d6e
commit
d1566022f4
2 changed files with 15 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
./ssh.nix
|
||||
./desktop.nix
|
||||
./sound.nix
|
||||
./gaming.nix
|
||||
./network.nix
|
||||
./sway.nix
|
||||
|
|
|
|||
14
config/users/kat/sound.nix
Normal file
14
config/users/kat/sound.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = lib.mkIf (lib.elem "desktop" config.meta.deploy.profiles) {
|
||||
sound.extraConfig = ''
|
||||
defaults.pcm.rate_converter "speexrate_best"
|
||||
'';
|
||||
hardware.pulseaudio.daemon.config = {
|
||||
default-sample-format = "s24le";
|
||||
default-sample-rate = 192000;
|
||||
resample-method = "soxr-vhq";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue