Compare commits

...

3 Commits

Author SHA1 Message Date
jay
7ebbaca081 Set up power profiles everywhere. 2025-08-03 07:56:55 -04:00
jay
720f0bcb63 Remove battery from being laptop specific. 2025-08-03 07:56:36 -04:00
jay
90c1419856 Add powertop. 2025-08-03 07:56:13 -04:00
7 changed files with 5 additions and 30 deletions

View File

@@ -26,6 +26,7 @@
./services/desktopmanager.nix
./services/displaymanager.nix
./services/nix-flatpak.nix
./services/power-profiles-daemon.nix
./services/sound.nix
./system/bluetooth.nix
./system/bootloader.nix

View File

@@ -44,6 +44,7 @@
pkgs.pciutils
pkgs.pinentry-curses
pkgs.playerctl
pkgs.powertop
pkgs.rbw
pkgs.ripgrep
pkgs.rofi-rbw-wayland

View File

@@ -0,0 +1,3 @@
{ pkgs, ...}: {
services.power-profiles-daemon.enable = "true";
}

View File

@@ -9,13 +9,10 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.nixos-hardware.nixosModules.framework-16-7040-amd
inputs.auto-cpufreq.nixosModules.default
./programs/auto-cpufreq.nix
./programs/sof-firmware.nix
# Not working yet.
./services/fprintd.nix
./services/lidswitch.nix
./services/power-profiles-daemon.nix
./services/touchpad.nix
./system/bootloader.nix
./system/filesystems.nix

View File

@@ -1,12 +1,6 @@
{ lib, ... }: {
programs.hyprpanel = {
settings = {
"bar.layouts" = {
"0" = {
right = [ "battery" ];
};
};
bar = {
customModules = {
cava = {

View File

@@ -1,18 +0,0 @@
{ pkgs, ... }: {
# List packages installed in system profile. To search, run:
# $ nix search wget
programs.auto-cpufreq = {
enable = false;
settings = {
charger = {
governor = "performance";
turbo = "auto";
};
battery = {
governor = "power-saver";
turbo = "never";
};
};
};
}

View File

@@ -1,3 +0,0 @@
{ pkgs, ...}: {
# services.power-profiles-daemon.enable = "true";
}