updated musnix/audio config

This commit is contained in:
serenity-F 2024-12-09 14:01:59 +10:00
parent 7ed39a74bf
commit fd57d62a92
2 changed files with 14 additions and 11 deletions

View file

@ -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;
@ -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 = {
@ -56,12 +53,18 @@
max.quantum = "144/48000"; max.quantum = "144/48000";
}; };
}; };
} ]; }];
}; };
}; };
musnix = {
enable = true;
};
}; };
} }

View file

@ -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