Compare commits

...

5 Commits

Author SHA1 Message Date
jay
7d4f6d1303 Already enabled? 2025-08-03 08:07:51 -04:00
jay
6bc47b092d Set up power profiles everywhere. 2025-08-03 08:07:51 -04:00
jay
f088b3b317 Remove battery from being laptop specific. 2025-08-03 08:07:51 -04:00
jay
52f2ecfb19 Add powertop. 2025-08-03 08:07:51 -04:00
jay
e2297ca2b3 Add battery everywhere. 2025-08-03 08:07:51 -04:00
8 changed files with 6 additions and 31 deletions

View File

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

View File

@@ -6,7 +6,7 @@
"0" = { "0" = {
left = [ "dashboard" "separator" "microphone" "volume" "bluetooth" "hypridle" "separator" "network" "separator" "workspaces" "windowtitle" ]; left = [ "dashboard" "separator" "microphone" "volume" "bluetooth" "hypridle" "separator" "network" "separator" "workspaces" "windowtitle" ];
middle = [ "media" "cava" ]; middle = [ "media" "cava" ];
right = [ "cpu" "cputemp" "ram" "storage" "separator" "systray" "notifications" "separator" "weather" "clock" ]; right = [ "battery" "cpu" "cputemp" "ram" "storage" "separator" "systray" "notifications" "separator" "weather" "clock" ];
}; };
}; };

View File

@@ -44,6 +44,7 @@
pkgs.pciutils pkgs.pciutils
pkgs.pinentry-curses pkgs.pinentry-curses
pkgs.playerctl pkgs.playerctl
pkgs.powertop
pkgs.rbw pkgs.rbw
pkgs.ripgrep pkgs.ripgrep
pkgs.rofi-rbw-wayland 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. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
inputs.nixos-hardware.nixosModules.framework-16-7040-amd inputs.nixos-hardware.nixosModules.framework-16-7040-amd
inputs.auto-cpufreq.nixosModules.default
./programs/auto-cpufreq.nix
./programs/sof-firmware.nix ./programs/sof-firmware.nix
# Not working yet. # Not working yet.
./services/fprintd.nix ./services/fprintd.nix
./services/lidswitch.nix ./services/lidswitch.nix
./services/power-profiles-daemon.nix
./services/touchpad.nix ./services/touchpad.nix
./system/bootloader.nix ./system/bootloader.nix
./system/filesystems.nix ./system/filesystems.nix

View File

@@ -1,12 +1,6 @@
{ lib, ... }: { { lib, ... }: {
programs.hyprpanel = { programs.hyprpanel = {
settings = { settings = {
"bar.layouts" = {
"0" = {
right = [ "battery" ];
};
};
bar = { bar = {
customModules = { customModules = {
cava = { 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";
}