From d92264f5df8f0f5f379c950cadfdda13d54dd2d4 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 20 Feb 2022 11:54:23 +0900 Subject: chore: remove unnecessary tricks --- nixos/alpha/configuration.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'nixos/alpha') diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 4ffacd1..9d25b12 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -100,23 +100,11 @@ services.pipewire = { enable = true; - #alsa.enable = true; - #alsa.support32Bit = true; + alsa.enable = true; + alsa.support32Bit = true; pulse.enable = true; }; - # TODO: https://github.com/NixOS/nixpkgs/pull/157631 - environment.etc."alsa/conf.d/49-pipewire-modules.conf".text = '' - pcm_type.pipewire { - lib ${pkgs.pipewire.lib}/lib/alsa-lib/libasound_module_pcm_pipewire.so ; - } - ctl_type.pipewire { - lib ${pkgs.pipewire.lib}/lib/alsa-lib/libasound_module_ctl_pipewire.so ; - } - ''; - environment.etc."alsa/conf.d/50-pipewire.conf".source = "${pkgs.pipewire}/share/alsa/alsa.conf.d/50-pipewire.conf"; - environment.etc."alsa/conf.d/99-pipewire-default.conf".source = "${pkgs.pipewire}/share/alsa/alsa.conf.d/99-pipewire-default.conf"; - hardware.bluetooth.enable = true; services.greetd = { -- cgit 1.4.1