profiles/desktop: Migrate from configuration
This commit is contained in:
31
profiles/desktop/audio.nix
Normal file
31
profiles/desktop/audio.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
|
||||
config = mkIf config.profiles.clerie.desktop.enable {
|
||||
|
||||
services.pulseaudio.enable = false;
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse = {
|
||||
enable = true;
|
||||
};
|
||||
configPackages = [
|
||||
pkgs.pipewire-all-bluetooth
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
helvum # pipewire routing gui
|
||||
];
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user