summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/toaster/amd-new-pstate.nix5
-rw-r--r--hosts/toaster/default.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/hosts/toaster/amd-new-pstate.nix b/hosts/toaster/amd-new-pstate.nix
new file mode 100644
index 0000000..179cce3
--- /dev/null
+++ b/hosts/toaster/amd-new-pstate.nix
@@ -0,0 +1,5 @@
+{ ... }:
+{
+ # use new amd pstate driver
+ boot.kernelParams = [ "amd_pstate=active" ];
+}
diff --git a/hosts/toaster/default.nix b/hosts/toaster/default.nix
index 65c7da1..0a2d48d 100644
--- a/hosts/toaster/default.nix
+++ b/hosts/toaster/default.nix
@@ -1,6 +1,7 @@
{ pkgs, ... }: {
imports = [
./amd.nix
+ ./amd-new-pstate.nix
./hardware-configuration.nix
./irc.nix
./stateful-network.nix