about summary refs log tree commit diff
path: root/nixos/alpha/configuration.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-20 11:54:23 +0900
committersefidel <contact@sefidel.net>2022-02-20 11:54:23 +0900
commitd92264f5df8f0f5f379c950cadfdda13d54dd2d4 (patch)
treecd6bc3e32bb4e8d371d91425c7e85dfa7a422bd0 /nixos/alpha/configuration.nix
parent60ddbd415927779f9a8522c7ae497aabc68d4482 (diff)
downloadnixrc-d92264f5df8f0f5f379c950cadfdda13d54dd2d4.tar.gz
nixrc-d92264f5df8f0f5f379c950cadfdda13d54dd2d4.zip
chore: remove unnecessary tricks
Diffstat (limited to 'nixos/alpha/configuration.nix')
-rw-r--r--nixos/alpha/configuration.nix16
1 files changed, 2 insertions, 14 deletions
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 = {