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