From 3164d96af20a1a8812e8a56a57b55d8e6b98f1d7 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 27 Jun 2024 17:28:29 +0900 Subject: [PATCH] Random Updates --- nixos/containers/default.nix | 3 ++- nixos/containers/rdesktop/default.nix | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/nixos/containers/default.nix b/nixos/containers/default.nix index 6781808a..fa0e3ab5 100644 --- a/nixos/containers/default.nix +++ b/nixos/containers/default.nix @@ -55,7 +55,8 @@ networking.extraHosts = '' 100.64.0.14 influx.sysctl.io 100.64.0.14 loki.sysctl.io - ''; + ''; + # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { diff --git a/nixos/containers/rdesktop/default.nix b/nixos/containers/rdesktop/default.nix index 9367b25e..b1180f8f 100644 --- a/nixos/containers/rdesktop/default.nix +++ b/nixos/containers/rdesktop/default.nix @@ -9,11 +9,17 @@ ]; hardware.pulseaudio.enable = lib.mkDefault true; - services.pipewire.enable = lib.mkDefault false; + hardware.pulseaudio.support32Bit = lib.mkDefault true; + services.pipewire = { + enable = lib.mkDefault false; + alsa.enable = lib.mkDefault false; + alsa.support32Bit = lib.mkDefault false; + pulse.enable = lib.mkDefault false; + }; services.xrdp = { - openFirewall = true; enable = true; + openFirewall = true; audio.enable = true; }; }