Migrate to snowfall lib
This commit is contained in:
18
modules/nixos/gui/audio/default.nix
Normal file
18
modules/nixos/gui/audio/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let cfg = config.hostcfg.make.gui;
|
||||
in {
|
||||
config = lib.mkIf cfg {
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ easyeffects ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user