updated musnix/audio config
This commit is contained in:
parent
7ed39a74bf
commit
fd57d62a92
2 changed files with 14 additions and 11 deletions
|
|
@ -1,18 +1,15 @@
|
|||
## https://nixos.wiki/PipeWire
|
||||
# # https://nixos.wiki/PipeWire
|
||||
## https://github.com/musnix/musnix
|
||||
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
imports = [ ];
|
||||
|
||||
## Can't remember what this does,
|
||||
## recommended to be enabled though
|
||||
security.rtkit.enable = true;
|
||||
|
||||
musnix.enable = true;
|
||||
|
||||
## Not using pulse directly
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
|
|
@ -20,7 +17,7 @@
|
|||
services.pipewire = {
|
||||
enable = true;
|
||||
## Uncomment if ypu(g.) want to use JACK applications
|
||||
#jack.enable = true;
|
||||
#jack.enable = true;
|
||||
pulse.enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
|
|
@ -45,7 +42,7 @@
|
|||
resample.quality = 1;
|
||||
};
|
||||
|
||||
context.modules = [ {
|
||||
context.modules = [{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = {
|
||||
pulse = {
|
||||
|
|
@ -54,14 +51,20 @@
|
|||
max.req = "144/48000";
|
||||
min.quantum = "144/48000";
|
||||
max.quantum = "144/48000";
|
||||
};
|
||||
};
|
||||
} ];
|
||||
};
|
||||
}];
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
musnix = {
|
||||
|
||||
enable = true;
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
serenity = {
|
||||
description = "Serenity Amalgam";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "gamemode" ];
|
||||
extraGroups = [ "wheel" "networkmanager" "gamemode" "audio" ];
|
||||
## be sure to change this with 'passwd'
|
||||
initialPassword = "password";
|
||||
## A catgirl's favourite shell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue