Compare commits

..

3 Commits

Author SHA1 Message Date
aaedafac2d Updated lockfile 2025-06-03 17:12:52 -03:00
22eceb0fd0 Updated Zellij config 2025-06-03 17:12:45 -03:00
67b23f68e2 Updated tlp config 2025-06-03 17:12:32 -03:00
3 changed files with 74 additions and 28 deletions

48
flake.lock generated
View File

@@ -37,11 +37,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1748795434,
"narHash": "sha256-PMZ4qwBwMwDCpuE+CbhZMJDeY76HvweC4GdBNc7oh2U=",
"lastModified": 1748962860,
"narHash": "sha256-Me0YBdIiECZ+gXYqhXoL7g8Uhpd7n3A545fUr2wdU38=",
"owner": "cachix",
"repo": "devenv",
"rev": "02334cb7e3d69847e2ce793719147e63d56e2f7c",
"rev": "d6152f2ff1a520fa3c69822aed983028a4024d34",
"type": "github"
},
"original": {
@@ -194,11 +194,11 @@
},
"hardware": {
"locked": {
"lastModified": 1748634340,
"narHash": "sha256-pZH4bqbOd8S+si6UcfjHovWDiWKiIGRNRMpmRWaDIms=",
"lastModified": 1748942041,
"narHash": "sha256-HEu2gTct7nY0tAPRgBtqYepallryBKR1U8B4v2zEEqA=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "daa628a725ab4948e0e2b795e8fb6f4c3e289a7a",
"rev": "fc7c4714125cfaa19b048e8aaf86b9c53e04d853",
"type": "github"
},
"original": {
@@ -214,11 +214,11 @@
]
},
"locked": {
"lastModified": 1748830238,
"narHash": "sha256-EB+LzYHK0D5aqxZiYoPeoZoOzSAs8eqBDxm3R+6wMKU=",
"lastModified": 1748955489,
"narHash": "sha256-OmZXyW2g5qIuo5Te74McwR0TwauCO2sF3/SjGDVuxyg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c7fdb7e90bff1a51b79c1eed458fb39e6649a82a",
"rev": "bb846c031be68a96466b683be32704ef6e07b159",
"type": "github"
},
"original": {
@@ -305,11 +305,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1748825982,
"narHash": "sha256-ccV89+U2v5F7wUDViU6XcnA7gMBd+Hzx5EuAlPqIDKA=",
"lastModified": 1748917805,
"narHash": "sha256-zAV6Z4Ndihv4lg4D7gciCvcO0jvEN70K0U4Y/wkEhag=",
"owner": "nix-community",
"repo": "nix4vscode",
"rev": "e287cb38645f2abf7e4b318de4925778c6bcc232",
"rev": "9e5c5e0167a3716c2aaa0b4dd1acc89b72c59408",
"type": "github"
},
"original": {
@@ -320,11 +320,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1748634340,
"narHash": "sha256-pZH4bqbOd8S+si6UcfjHovWDiWKiIGRNRMpmRWaDIms=",
"lastModified": 1748942041,
"narHash": "sha256-HEu2gTct7nY0tAPRgBtqYepallryBKR1U8B4v2zEEqA=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "daa628a725ab4948e0e2b795e8fb6f4c3e289a7a",
"rev": "fc7c4714125cfaa19b048e8aaf86b9c53e04d853",
"type": "github"
},
"original": {
@@ -352,11 +352,11 @@
},
"nixpkgs-darwin": {
"locked": {
"lastModified": 1748603838,
"narHash": "sha256-bW0ZaGOErMm7/Tfs+zhmBEURH0OVVT02dHITSDXEPjY=",
"lastModified": 1748850610,
"narHash": "sha256-ezzBlhhjkMzRRfrfpzgR+iZI9lhjQNjrNNP7Ct+tX/c=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ad06b96e3bf30030a8b1901e3140fda7a31b53ac",
"rev": "10e046fb1c3f5f4bb044787697f5a51223f8ea28",
"type": "github"
},
"original": {
@@ -368,11 +368,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1748421225,
"narHash": "sha256-XXILOc80tvlvEQgYpYFnze8MkQQmp3eQxFbTzb3m/R0=",
"lastModified": 1748810746,
"narHash": "sha256-1na8blYvU1F6HLwx/aFjrhUqpqZ0SCsnqqW9n2vXvok=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "78add7b7abb61689e34fc23070a8f55e1d26185b",
"rev": "78d9f40fd6941a1543ffc3ed358e19c69961d3c1",
"type": "github"
},
"original": {
@@ -545,11 +545,11 @@
]
},
"locked": {
"lastModified": 1748834461,
"narHash": "sha256-1OfK7Ec2EIqwf/EhNikMp8DcdOcQG1CBS5CK4cAPMjs=",
"lastModified": 1748920570,
"narHash": "sha256-m7EshkqPxa3IxN/qwxP1LlMlRdn37aiK0hghDieho8A=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "2527ce862b0a80c3c4bd87e6717c7ac0fee1c456",
"rev": "ff5bf0bcf588e8c1d0f5fcd635b0c8e1cce8aee5",
"type": "github"
},
"original": {

View File

@@ -9,6 +9,13 @@
pane_frames = false;
copy_on_select = false;
show_startup_tips = true;
show_release_notes = false;
keybinds = {
locked = {
bind."Ctrl g" = {SwitchToMode = "normal";};
};
};
};
};
}

View File

@@ -4,16 +4,55 @@
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
# Set CPU driver operation mode to 'active' to allow the CPU to manage its own frequency scaling
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";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
# Set Energy Performance Preference (EPP) to balance performance on AC and favor power savings on battery
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
# Define CPU performance limits: full performance on AC, limited to 50% on battery to save power
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 20;
CPU_MAX_PERF_ON_BAT = 50;
# Enable Turbo Boost on AC for maximum performance; disable on battery to conserve energy
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
# Enable Intel's Hardware P-States (HWP) dynamic boost on AC; disable on battery
CPU_HWP_DYN_BOOST_ON_AC = 1;
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_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";
PCIE_ASPM_ON_BAT = "powersupersave";
# Enable runtime power management for PCIe devices: 'on' for AC, 'auto' for battery
RUNTIME_PM_ON_AC = "on";
RUNTIME_PM_ON_BAT = "auto";
# Enable sound power saving on both AC and battery; '1' sets a 1-second timeout
SOUND_POWER_SAVE_ON_AC = 1;
SOUND_POWER_SAVE_ON_BAT = 1;
SOUND_POWER_SAVE_CONTROLLER = "Y";
# Enable USB autosuspend to save power when devices are idle
USB_AUTOSUSPEND = 1;
#Optional helps save long term battery health
#START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge