add power management

This commit is contained in:
2025-10-15 11:20:14 -05:00
parent c55e813b52
commit dbf4ce2834
3 changed files with 40 additions and 3 deletions

View File

@@ -5,19 +5,26 @@
inputs,
...
}: {
imports = [
inputs.autoaspm.nixosModules.default
];
# base system package install list
environment.systemPackages = with pkgs; [
wget
curl
rsync
git
vim
lf
age
fzf
btop
neofetch
usbutils
pciutils
python3
vim
lf
btop
];
# set timezone
@@ -26,6 +33,11 @@
# allow proprietary packages
nixpkgs.config.allowUnfree = true;
# power management
services.autoaspm.enable = true;
powerManagement.powertop.enable = true;
# enable flakes
nix.settings.experimental-features = ["nix-command" "flakes"];