]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
On-demand cpu frequency
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 10 Jun 2024 11:20:06 +0000 (13:20 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 10 Jun 2024 22:20:30 +0000 (00:20 +0200)
deploy/flake.lock
flake.lock
flakes/flake.lock
systems/dilion/base.nix
systems/eldiron/base.nix
systems/zoldene/base.nix

index 96ddd6d855d4c94e076efbb7d091d92e71bc8373..a76a82a5018127fbb2deea8db6346b49bb936259 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-haTtrZR9TigbV2r1atpMZtFalJ3ADrTDlyYj235FZXk=",
+        "narHash": "sha256-oi7B2foI2ukk31mswamJ/sUoq2yvlS/abJj2CYJMS1U=",
         "path": "../flakes",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-qMGFJ0jSaCq+lbvhgAF/ndZe2w6KbCVuZStIZdRctBA=",
+        "narHash": "sha256-hE6jL305XpLZvlCYRKnTzLfJW9RuISAC4i/ifRHwBKs=",
         "path": "../systems/dilion",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-+/zr56Fj0elDHugf3dSoSS+N0vG26vF4U9B4UEEVAhE=",
+        "narHash": "sha256-ItVNdRvOUeVByeiuNpeHKIpCjxTG8qS0L5ankxfNlyI=",
         "path": "../systems/eldiron",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-TpEvHjtYcwJmnPpNHnJDFEfcn0Ee+xMVguxIXjGWbg4=",
+        "narHash": "sha256-JlmfWvZWdpG8URsDmCRaWmLo1pUxKf0yxwcLF2OwzTo=",
         "path": "../systems/zoldene",
         "type": "path"
       },
index 13f97a3fd30ccb9cce4519d7fb6bd6c2aafa54e0..bffa047c9bf68de086ba15bb185d3c1d316f7c2b 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-haTtrZR9TigbV2r1atpMZtFalJ3ADrTDlyYj235FZXk=",
+        "narHash": "sha256-oi7B2foI2ukk31mswamJ/sUoq2yvlS/abJj2CYJMS1U=",
         "path": "./flakes",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-qMGFJ0jSaCq+lbvhgAF/ndZe2w6KbCVuZStIZdRctBA=",
+        "narHash": "sha256-hE6jL305XpLZvlCYRKnTzLfJW9RuISAC4i/ifRHwBKs=",
         "path": "../systems/dilion",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-+/zr56Fj0elDHugf3dSoSS+N0vG26vF4U9B4UEEVAhE=",
+        "narHash": "sha256-ItVNdRvOUeVByeiuNpeHKIpCjxTG8qS0L5ankxfNlyI=",
         "path": "../systems/eldiron",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-TpEvHjtYcwJmnPpNHnJDFEfcn0Ee+xMVguxIXjGWbg4=",
+        "narHash": "sha256-JlmfWvZWdpG8URsDmCRaWmLo1pUxKf0yxwcLF2OwzTo=",
         "path": "../systems/zoldene",
         "type": "path"
       },
index cf0ef6cd7a2f08f3ba9adceb38eeba280584644c..49298bfbc14ab9f35c4d804837b745f4a7883aab 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-qMGFJ0jSaCq+lbvhgAF/ndZe2w6KbCVuZStIZdRctBA=",
+        "narHash": "sha256-hE6jL305XpLZvlCYRKnTzLfJW9RuISAC4i/ifRHwBKs=",
         "path": "../systems/dilion",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-+/zr56Fj0elDHugf3dSoSS+N0vG26vF4U9B4UEEVAhE=",
+        "narHash": "sha256-ItVNdRvOUeVByeiuNpeHKIpCjxTG8qS0L5ankxfNlyI=",
         "path": "../systems/eldiron",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-TpEvHjtYcwJmnPpNHnJDFEfcn0Ee+xMVguxIXjGWbg4=",
+        "narHash": "sha256-JlmfWvZWdpG8URsDmCRaWmLo1pUxKf0yxwcLF2OwzTo=",
         "path": "../systems/zoldene",
         "type": "path"
       },
index 8c0b3ada3978b0d86bfd608db628354b4c672cc2..b47d92823322c64fc7de718dacff66f1ad2bf893 100644 (file)
@@ -21,7 +21,7 @@
     # available in nixos-20.09
     #zfs.requestEncryptionCredentials = [ "zpool/root" ];
   };
-  powerManagement.cpuFreqGovernor = "powersave";
+  powerManagement.cpuFreqGovernor = "ondemand";
   hardware.enableRedistributableFirmware = true;
 
   swapDevices = [ { label = "swap"; } ];
index 5308ddba1e62fa911dc33dfba41c40fdede9f371..fa5e504d09592761705d0bf51230d5d7cd0b89b4 100644 (file)
@@ -29,7 +29,7 @@
   ];
 
   nixpkgs.overlays = builtins.attrValues ports.overlays;
-  powerManagement.cpuFreqGovernor = "powersave";
+  powerManagement.cpuFreqGovernor = "ondemand";
 
   security.acme.certs."${name}".postRun = builtins.concatStringsSep "\n" [
     (lib.optionalString config.services.websites.env.production.enable "/run/current-system/sw/bin/machinectl shell httpd-production /usr/bin/env systemctl reload httpd.service")
index fc0d68a2d7a7fe9d7511321be25cdba21e2c9374..617cd8218ffb47a758759a2a8d26f2466c4b2d8a 100644 (file)
@@ -112,7 +112,7 @@ in
     };
   };
 
-  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+  powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
   hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
   hardware.enableRedistributableFirmware = lib.mkDefault true;
   system.activationScripts.createDatasets = {