Adding pipewire

This commit is contained in:
Miguel Palhas
2024-10-02 16:41:23 +01:00
parent 61508f1ddc
commit 14524587c2
3 changed files with 104 additions and 47 deletions
+8
View File
@@ -8,6 +8,7 @@ in {
../common/global
../common/features/networking.nix
../common/features/hyprland.nix
../common/features/pipewire.nix
../common/features/docker.nix
../common/features/desktop-apps.nix
../common/features/syncthing.nix
@@ -15,6 +16,13 @@ in {
networking.hostName = "arrakis";
home.sessionVariables = {
LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland";
GDM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
};
boot = {
loader = {
systemd-boot.enable = true;
+9
View File
@@ -0,0 +1,9 @@
{ config, pkgs, ... }: {
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}