fix audio issue; update profile config

This commit is contained in:
2025-04-21 22:20:13 +08:00
parent 1515efd11a
commit 780a24965d
5 changed files with 37 additions and 18 deletions

View File

@@ -4,7 +4,19 @@
{ config, lib, pkgs, modulesPath, username, ... }:
{
# set hdmi audio default device
hardware.pulseaudio = {
enable = true;
support32Bit = true;
extraConfig = "set-card-profile 1 output:alsa_output.pci-0000_00_1f.3.hdmi-stereo";
};
environment.systemPackages = with pkgs;[
# audio control software
pamixer
];
fileSystems."/home/${username}/tmp" =
{
device = "none";