diff --git a/configuration.nix b/configuration.nix index d721267..57939e6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -99,7 +99,7 @@ services.printing.enable = false; # Enable sound with pipewire. - hardware.pulseaudio.enable = false; + services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; @@ -114,8 +114,9 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.elias = { isNormalUser = true; - description = "Elias Gasparis"; - extraGroups = [ "networkmanager" "wheel" ]; + description = "elias"; +#ADDED AUDIO GROUP FOR MICROPHONE, DIDN"T HELP + extraGroups = [ "networkmanager" "wheel" "audio"]; packages = with pkgs; [ # thunderbird ]; diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 9901f79..84603f4 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -13,15 +13,11 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - boot.kernelPackages = pkgs.linuxPackages_latest; - #boot.kernelPackages = pkgs.linuxPackages_6_14; + # sound card microphone only works on this, so far... + # 6.14 and 6.12 it is broken + boot.kernelPackages = pkgs.linuxPackages_6_1; -boot.extraModprobeConfig = "options snd-hda-intel model=alc256-asus-mic"; - -#didn't work -#boot.extraModprobeConfig = '' -# options snd slots=snd-hda-intel -#''; + hardware.firmware = [ pkgs.sof-firmware ]; fileSystems."/" = { device = "/dev/disk/by-uuid/27986c46-1dd1-4444-b732-7e7c36f2ed29"; diff --git a/modules/programs.nix b/modules/programs.nix index d1bc136..0516f1b 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -4,6 +4,9 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + # drivers for sound + sof-firmware + # terminal apps wget curl @@ -15,6 +18,7 @@ restic # backup program wiper # A TUI disk analyser and cleanup tool curl + inxi #debugging # emulation quickemu diff --git a/temp b/temp new file mode 100644 index 0000000..fc8247c --- /dev/null +++ b/temp @@ -0,0 +1,3 @@ +https://discourse.nixos.org/t/blacklisted-module-does-not-work-goal-change-driver/40947 + +for sound crap