Refactor Copilot settings for improved configuration; remove unnecessary extension and update kernel package settings for performance enhancements

This commit is contained in:
2025-07-23 17:16:22 -03:00
parent d4d1e0a5d4
commit e8599dd250
4 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,9 @@
# Enable Copilot Next Edit Suggestions
"github.copilot.nextEditSuggestions.enabled" = true;
# Other useful Copilot settings
"github.copilot.enable" = true;
"github.copilot.enable" = {
"*" = true;
};
"github.copilot.inlineSuggest.enable" = true;
"github.copilot.advanced" = {
"inlineSuggest.enableAutoTrigger" = true;

View File

@@ -25,7 +25,6 @@
"usernamehw.errorlens"
# --- Output & Visualization ---
"ibm.output-colorizer"
"nobuhito.printcode"
"pnp.polacode"
# --- Git ---
"lamartire.git-indicators"

View File

@@ -8,8 +8,8 @@
CPU_DRIVER_OPMODE_ON_AC = "active";
CPU_DRIVER_OPMODE_ON_BAT = "active";
# Use 'powersave' governor, which, with intel_pstate in active mode, allows HWP to manage frequencies efficiently
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
# Use 'performance' governor for max performance on AC
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
# Set Energy Performance Preference (EPP) to balance performance on AC and favor power savings on battery
@@ -31,15 +31,15 @@
CPU_HWP_DYN_BOOST_ON_BAT = 1;
# Set platform profile to 'performance' on AC and 'low-power' on battery, if supported by the system
PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power";
# Enable Wi-Fi power saving on both AC and battery
WIFI_PWR_ON_AC = "on";
WIFI_PWR_ON_BAT = "on";
# Configure PCIe Active State Power Management: default on AC, aggressive power saving on battery
PCIE_ASPM_ON_AC = "default";
# Configure PCIe Active State Power Management: 'performance' on AC, aggressive power saving on battery
PCIE_ASPM_ON_AC = "performance";
PCIE_ASPM_ON_BAT = "powersupersave";
# Enable runtime power management for PCIe devices: 'on' for AC, 'auto' for battery

View File

@@ -14,7 +14,6 @@
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "vmd" "nvme" "usbhid"];
boot.initrd.kernelModules = [];
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.kernelModules = ["kvm-intel"];
boot.kernelPatches = [
/*