Add laptop power config

finchie
Nov 22, 2023, 2:32 PM
P42OX2AVVY32FUXMSBGKGJOHZQ7UDJBJCGMTUVXDFN4KZ3Z3PTVQC

Dependencies

  • [2] 6I2HQYU2 Add basic flake configuration

Change contents

  • edit in configuration.nix at line 15
    [2.6120]
    [2.6179]
    # Laptop-specific config
    powerManagement.enable = true;
    services.thermald.enable = true;
    services.auto-cpufreq = {
    enable = true;
    settings = {
    battery = {
    governor = "powersave";
    turbo = "never";
    };
    charger = {
    governor = "performance";
    turbo = "auto";
    };
    };
    };