diff --git a/greynix/configuration.nix b/greynix/configuration.nix index 65a4a0c..23f80b7 100644 --- a/greynix/configuration.nix +++ b/greynix/configuration.nix @@ -29,6 +29,18 @@ ]; }; + # Audio + security.rtkit.enable = true; + services.pipewire = { + enable = true; # if not already enabled + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + wireplumber.enable = true; + # If you want to use JACK applications, uncomment this + #jack.enable = true; + }; + # Services: # ===================================== diff --git a/greynix/hardware-configuration.nix b/greynix/hardware-configuration.nix index 24418e6..0bf9ba3 100644 --- a/greynix/hardware-configuration.nix +++ b/greynix/hardware-configuration.nix @@ -10,8 +10,18 @@ boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + # added snd_hda_intel for microphone + boot.kernelModules = [ "kvm-intel" "snd_hda_intel"]; boot.extraModulePackages = [ ]; + #microphone start + boot.extraModprobeConfig = '' + options snd-hda-intel model=auto + ''; + boot.kernelParams = [ "snd-intel-dspcfg.dsp_driver=1" ]; + boot.blacklistedKernelModules = [ + "snd_soc_avs" + ]; + # microphone stuff end fileSystems."/" = { device = "/dev/disk/by-uuid/7f9595fb-2076-4f33-8834-ce8485bfc56f"; @@ -44,4 +54,7 @@ hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot + # for sound drivers + hardware.enableAllFirmware = true; + } diff --git a/mods/base.nix b/mods/base.nix index 9b39bc5..4d3c10e 100644 --- a/mods/base.nix +++ b/mods/base.nix @@ -137,6 +137,8 @@ # emulation quickemu + #emulation + distrobox # terminal editors neovim diff --git a/test.mp3 b/test.mp3 new file mode 100644 index 0000000..7225dd7 Binary files /dev/null and b/test.mp3 differ