# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, username, ... }: { hardware.opengl = { enable = true; extraPackages = with pkgs; [ vaapiIntel intel-media-driver ]; }; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; # If you want to use JACK applications, uncomment this #jack.enable = true; wireplumber.extraConfig.bluetoothEnhancements = { "monitor.bluez.properties" = { "bluez5.enable-sbc-xq" = true; "bluez5.enable-msbc" = true; "bluez5.enable-hw-volume" = true; "bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ]; }; }; }; environment.systemPackages = with pkgs;[ # audio control software pamixer ]; fileSystems."/home/${username}/tmp" = { device = "none"; fsType = "tmpfs"; options = [ "uid=1000" "gid=100" "defaults" "size=16G" "mode=755" ]; }; fileSystems."/tmp" = { device = "tmpfs"; fsType = "tmpfs"; }; swapDevices = [{ device = "/var/swapfile"; size = 16 * 1024; }]; }