sound -> audio to remove conflict

This commit is contained in:
Aditya 2024-04-11 13:34:07 +05:30
parent 6801d6401b
commit 2ee9f67519
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU

View file

@ -4,9 +4,9 @@
... ...
}: { }: {
options = { options = {
sound.enable = lib.mkEnableOption "enable sound"; audio.enable = lib.mkEnableOption "enable sound";
}; };
config = lib.mkIf config.sound.enable { config = lib.mkIf config.audio.enable {
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;