fixed microphone issue

This commit is contained in:
Elias Gasparis 2025-06-06 12:40:26 +08:00
parent 8cbc1db6b5
commit 09ded0d112
4 changed files with 15 additions and 11 deletions

View file

@ -99,7 +99,7 @@
services.printing.enable = false; services.printing.enable = false;
# Enable sound with pipewire. # Enable sound with pipewire.
hardware.pulseaudio.enable = false; services.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
@ -114,8 +114,9 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.elias = { users.users.elias = {
isNormalUser = true; isNormalUser = true;
description = "Elias Gasparis"; description = "elias";
extraGroups = [ "networkmanager" "wheel" ]; #ADDED AUDIO GROUP FOR MICROPHONE, DIDN"T HELP
extraGroups = [ "networkmanager" "wheel" "audio"];
packages = with pkgs; [ packages = with pkgs; [
# thunderbird # thunderbird
]; ];

View file

@ -13,15 +13,11 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.kernelPackages = pkgs.linuxPackages_latest; # sound card microphone only works on this, so far...
#boot.kernelPackages = pkgs.linuxPackages_6_14; # 6.14 and 6.12 it is broken
boot.kernelPackages = pkgs.linuxPackages_6_1;
boot.extraModprobeConfig = "options snd-hda-intel model=alc256-asus-mic"; hardware.firmware = [ pkgs.sof-firmware ];
#didn't work
#boot.extraModprobeConfig = ''
# options snd slots=snd-hda-intel
#'';
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/27986c46-1dd1-4444-b732-7e7c36f2ed29"; { device = "/dev/disk/by-uuid/27986c46-1dd1-4444-b732-7e7c36f2ed29";

View file

@ -4,6 +4,9 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# drivers for sound
sof-firmware
# terminal apps # terminal apps
wget wget
curl curl
@ -15,6 +18,7 @@
restic # backup program restic # backup program
wiper # A TUI disk analyser and cleanup tool wiper # A TUI disk analyser and cleanup tool
curl curl
inxi #debugging
# emulation # emulation
quickemu quickemu

3
temp Normal file
View file

@ -0,0 +1,3 @@
https://discourse.nixos.org/t/blacklisted-module-does-not-work-goal-change-driver/40947
for sound crap