default cpuFreqGovernor is ondemand now

feature/hass
Ingolf Wagner 2021-07-09 06:08:41 +02:00
parent 8588bf6033
commit 0105051718
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
13 changed files with 17 additions and 24 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -54,10 +54,10 @@ in {
libinput = {
enable = true;
touchpad = {
disableWhileTyping = true;
tapping = true;
scrollMethod = "twofinger";
accelSpeed = "2";
disableWhileTyping = true;
tapping = true;
scrollMethod = "twofinger";
accelSpeed = "2";
};
};

View File

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

View File

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

View File

@ -20,11 +20,11 @@
environment.systemPackages =
[ pkgs.git pkgs.docker-compose pkgs.ag pkgs.htop ];
# party.${hostName}
# api.party.${hostName}
# push.party.${hostName}
# play.party.${hostName}
# upload.party.${hostName}
# party.${hostName}
# api.party.${hostName}
# push.party.${hostName}
# play.party.${hostName}
# upload.party.${hostName}
networking.hostName = "host";
workadventure.domain = "palovandalo.com";

View File

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

View File

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

View File

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