From d36ce98d288b5a545dff5a652ea8fc4bafae2224 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 21 Jun 2024 10:58:53 +0900 Subject: [PATCH] Testing sound --- nixos/common/desktops/plasma6/default.nix | 4 ++-- nixos/containers/rdesktop/default.nix | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index 452b8b3a..e248c7f4 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -1,10 +1,10 @@ { pkgs, ... }: { # Enable sound with pipewire. sound.enable = true; - hardware.pulseaudio.enable = true; + hardware.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { - enable = false; + enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; diff --git a/nixos/containers/rdesktop/default.nix b/nixos/containers/rdesktop/default.nix index 7e4d87ce..1d21a5fa 100644 --- a/nixos/containers/rdesktop/default.nix +++ b/nixos/containers/rdesktop/default.nix @@ -6,6 +6,9 @@ ../../common/modules/fonts.nix ]; + hardware.pulseaudio.enable = lib.mkDefault true; + services.pipewire.enable = lib.mkDefault force; + services.xrdp = { openFirewall = true; enable = true;