Compare commits

...

13 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
jay
a26ba6a510 Set background. 2025-08-03 07:29:02 -04:00
jay
f5c2eae0d7 Add wallpaper. 2025-08-03 07:28:54 -04:00
jay
f45ee0ef1c Flake update. 2025-08-03 07:11:42 -04:00
jay
41ecfa25f1 Disable powermanagement. 2025-08-02 22:01:14 -04:00
jay
1b9070c79e Flake update. 2025-08-02 22:01:04 -04:00
jay
a20c7f5789 Enable powermanagement, set default cpu governor. 2025-08-02 12:14:49 -04:00
jay
0053d89359 Flake update. 2025-08-02 12:14:40 -04:00
jay
b0e594a547 Set nixy cpu governor to ondemand. 2025-08-02 12:07:41 -04:00
11 changed files with 29 additions and 54 deletions

42
flake.lock generated
View File

@@ -151,11 +151,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1753121425,
"narHash": "sha256-TVcTNvOeWWk1DXljFxVRp+E0tzG1LhrVjOGGoMHuXio=",
"lastModified": 1754091436,
"narHash": "sha256-XKqDMN1/Qj1DKivQvscI4vmHfDfvYR2pfuFOJiCeewM=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "644e0fc48951a860279da645ba77fe4a6e814c5e",
"rev": "67df8c627c2c39c41dbec76a1f201929929ab0bd",
"type": "github"
},
"original": {
@@ -401,11 +401,11 @@
]
},
"locked": {
"lastModified": 1753841490,
"narHash": "sha256-rcaiQ9e/glv3s5aSYB3/y3T7cs9rY+G0TOixQZQVADA=",
"lastModified": 1754187571,
"narHash": "sha256-1VvRI2zswUtVijM5iKJRdhtwLH8ASscZuVzhos/zMfs=",
"owner": "fufexan",
"repo": "nix-gaming",
"rev": "1b9569f6474bfc5b7257a8a4ba02d1f26e75f489",
"rev": "40b28f289429ff02f469052224560802472955f0",
"type": "github"
},
"original": {
@@ -540,11 +540,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1751159883,
"narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=",
"lastModified": 1753579242,
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab",
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
"type": "github"
},
"original": {
@@ -555,11 +555,11 @@
},
"nixpkgs-stable-nixos": {
"locked": {
"lastModified": 1753749649,
"narHash": "sha256-+jkEZxs7bfOKfBIk430K+tK9IvXlwzqQQnppC2ZKFj4=",
"lastModified": 1754028485,
"narHash": "sha256-IiiXB3BDTi6UqzAZcf2S797hWEPCRZOwyNThJIYhUfk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a",
"rev": "59e69648d345d6e8fef86158c555730fa12af9de",
"type": "github"
},
"original": {
@@ -571,11 +571,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1753934836,
"narHash": "sha256-G06FmIBj0I5bMW1Q8hAEIl5N7IHMK7+Ta4KA+BmneDA=",
"lastModified": 1754151594,
"narHash": "sha256-S30TWshtDmNlU30u842RidFUraKj1f2dd4nrKRHm3gE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8679b16e11becd487b45d568358ddf9d5640d860",
"rev": "7b6929d8b900de3142638310f8bc40cff4f2c507",
"type": "github"
},
"original": {
@@ -587,11 +587,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1753934836,
"narHash": "sha256-G06FmIBj0I5bMW1Q8hAEIl5N7IHMK7+Ta4KA+BmneDA=",
"lastModified": 1754151594,
"narHash": "sha256-S30TWshtDmNlU30u842RidFUraKj1f2dd4nrKRHm3gE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8679b16e11becd487b45d568358ddf9d5640d860",
"rev": "7b6929d8b900de3142638310f8bc40cff4f2c507",
"type": "github"
},
"original": {
@@ -885,11 +885,11 @@
]
},
"locked": {
"lastModified": 1753933355,
"narHash": "sha256-4QxMcKS6oc+cG8efwwAin4M+YOokBak1dVS8u5P3b5M=",
"lastModified": 1754193284,
"narHash": "sha256-ZGLXnpXy7vcTDLC1yLQSJOclsilvK+RNFVVEeO0ei/0=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "fa795a139a8c92b140bc21f11f61da1c97ad5b1d",
"rev": "ac2b25e76f5bfe1e30ae39409dfa450c5c1bc945",
"type": "github"
},
"original": {

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

@@ -6,7 +6,7 @@
"0" = {
left = [ "dashboard" "separator" "microphone" "volume" "bluetooth" "hypridle" "separator" "network" "separator" "workspaces" "windowtitle" ];
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

@@ -1,8 +1,8 @@
{ pkgs, ... }: {
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
image = ../../../wallpapers/nixos-wallpaper.png;
#base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
image = ../../../wallpapers/clarepurple.jpg;
# Wipeout HD Theme
#image = ./wipeout.png;
# Wipeout HD Reverse Theme

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";
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

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";
}