add power management
This commit is contained in:
21
flake.lock
generated
21
flake.lock
generated
@@ -1,5 +1,25 @@
|
||||
{
|
||||
"nodes": {
|
||||
"autoaspm": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1759050207,
|
||||
"narHash": "sha256-WnEKYqj0xs92DZscGVMmLytHOQlUWg3ZtZRdgCoTgQw=",
|
||||
"owner": "notthebee",
|
||||
"repo": "AutoASPM",
|
||||
"rev": "0c73e0ed98e7bb3f6854bab9505e79a7f61654bd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "notthebee",
|
||||
"repo": "AutoASPM",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"copyparty": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
@@ -179,6 +199,7 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"autoaspm": "autoaspm",
|
||||
"copyparty": "copyparty",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
url = "github:notashelf/nvf/v0.8";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
autoaspm = {
|
||||
url = "github:notthebee/AutoASPM";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
copyparty.url = "github:9001/copyparty";
|
||||
};
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs:
|
||||
|
||||
@@ -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"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user