default cpuFreqGovernor is ondemand now

This commit is contained in:
Ingolf Wagner 2021-07-09 06:08:41 +02:00
parent 8588bf6033
commit 0105051718
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
13 changed files with 17 additions and 24 deletions

View file

@ -27,8 +27,6 @@
fsType = "tmpfs"; fsType = "tmpfs";
}; };
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
# NTFS support # NTFS support
# ------------ # ------------
environment.systemPackages = [ pkgs.ntfs3g ]; environment.systemPackages = [ pkgs.ntfs3g ];

View file

@ -52,8 +52,7 @@
fsType = "tmpfs"; fsType = "tmpfs";
}; };
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 2;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
# lvm volume group # lvm volume group
# ---------------- # ----------------

View file

@ -75,6 +75,5 @@
swapDevices = [ ]; swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
} }

View file

@ -38,7 +38,6 @@
#}; #};
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
# lvm volume group # lvm volume group
# ---------------- # ----------------

View file

@ -14,7 +14,6 @@
]; ];
networking.hostName = "sterni"; networking.hostName = "sterni";
system.custom.wifi.interfaces = [ "wlp3s0" ]; system.custom.wifi.interfaces = [ "wlp3s0" ];

View file

@ -39,7 +39,6 @@
}; };
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
# lvm volume group # lvm volume group
# ---------------- # ----------------

View file

@ -72,6 +72,10 @@
zsh.enable = true; zsh.enable = true;
}; };
# Machines should be fast by default
# ----------------------------------
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
# set vim to the default editor # set vim to the default editor
# ----------------------------- # -----------------------------
programs.vim.defaultEditor = true; programs.vim.defaultEditor = true;

View file

@ -12,7 +12,6 @@
# make sure laptops stay awake when closing the montior # make sure laptops stay awake when closing the montior
services.logind.lidSwitch = "ignore"; services.logind.lidSwitch = "ignore";
powerManagement.enable = false; powerManagement.enable = false;
powerManagement.cpuFreqGovernor = "ondemand";
powerManagement.scsiLinkPolicy = "min_power"; powerManagement.scsiLinkPolicy = "min_power";
# config vim # config vim

View file

@ -1,5 +1,4 @@
{config, ...}: { config, ... }: {
{
# + + # + +
# | | # | |
# | | # | |

View file

@ -1,5 +1,4 @@
{config, ... }: { config, ... }: {
{
services.netdata = { services.netdata = {
enable = true; enable = true;
config = { config = {

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
let let cfg = config.workadventure;
cfg = config.workadventure;
in { in {
options.workadventure = { options.workadventure = {