a
This commit is contained in:
@@ -7,11 +7,8 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../../common/incus.nix
|
||||
];
|
||||
deployment = {
|
||||
targetHost = "192.168.1.69";
|
||||
targetHost = "192.168.1.70";
|
||||
targetPort = 22;
|
||||
targetUser = "phoenix";
|
||||
buildOnTarget = true;
|
||||
@@ -24,7 +21,9 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/common.nix
|
||||
../../modules/common/incus.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
./power-plan.nix
|
||||
];
|
||||
}
|
||||
|
||||
22
hosts/blade/power-plan.nix
Normal file
22
hosts/blade/power-plan.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
name,
|
||||
nodes,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
powerManagement.powertop.enable = true;
|
||||
|
||||
# boot.kernelParams = [
|
||||
# "pcie_aspm=force"
|
||||
# ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
powertop
|
||||
turbostat
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user