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

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

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

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