added distrobox

This commit is contained in:
Elias Gasparis 2025-05-14 17:35:29 +08:00
parent 2755c8fbf3
commit 0646bbab02
4 changed files with 28 additions and 1 deletions

View file

@ -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: # Services:
# ===================================== # =====================================

View file

@ -10,8 +10,18 @@
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; # added snd_hda_intel for microphone
boot.kernelModules = [ "kvm-intel" "snd_hda_intel"];
boot.extraModulePackages = [ ]; 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."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/7f9595fb-2076-4f33-8834-ce8485bfc56f"; { device = "/dev/disk/by-uuid/7f9595fb-2076-4f33-8834-ce8485bfc56f";
@ -44,4 +54,7 @@
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
# for sound drivers
hardware.enableAllFirmware = true;
} }

View file

@ -137,6 +137,8 @@
# emulation # emulation
quickemu quickemu
#emulation
distrobox
# terminal editors # terminal editors
neovim neovim

BIN
test.mp3 Normal file

Binary file not shown.