HASH 79d3a6ee2670
DATE 2026-07-20
SUBJECT ooksmicro: power cfg
FILES 2 CHANGED
HASH 79d3a6ee2670
DATE 2026-07-20
SUBJECT ooksmicro: power cfg
FILES 2 CHANGED
┌─ hosts/ooksmicro/default.nix ──────────────────────────────────────────────┐
│ diff --git a/hosts/ooksmicro/default.nix b/hosts/ooksmicro/default.nix │
│ index c148183..5da7bac 100644 │
│ --- a/hosts/ooksmicro/default.nix │
│ +++ b/hosts/ooksmicro/default.nix │
│ @@ -30,14 +30,7 @@ │
│ kernelParams = ["fbcon=rotate:1"]; │
│ initrd.availableKernelModules = ["battery" "sdhci_pci"]; │
│ }; │
│ - services = { │
│ - tlp.enable = true; │
│ - upower.enable = true; │
│ - thermald.enable = true; │
│ - power-profiles-daemon.enable = false; │
│ - logind.settings.Login.HandleLidSwitch = "suspend"; │
│ - }; │
│ - powerManagement.powertop.enable = true; │
│ - hardware.cpu.intel.updateMicrocode = true; │
│ + # power management, cpu microcode and intel gpu stack now come from the │
│ + # battery feature + cpu.type/gpu.type in hardware.nix │
│ system.stateVersion = lib.mkDefault "23.11"; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ooksmicro/default.nix ────────┐
│ diff --git a/hosts/ooksmicro/default.nix b/h │
│ osts/ooksmicro/default.nix │
│ index c148183..5da7bac 100644 │
│ --- a/hosts/ooksmicro/default.nix │
│ +++ b/hosts/ooksmicro/default.nix │
│ @@ -30,14 +30,7 @@ │
│ kernelParams = ["fbcon=rotate:1"]; │
│ initrd.availableKernelModules = ["batte │
│ ry" "sdhci_pci"]; │
│ }; │
│ - services = { │
│ - tlp.enable = true; │
│ - upower.enable = true; │
│ - thermald.enable = true; │
│ - power-profiles-daemon.enable = false; │
│ - logind.settings.Login.HandleLidSwitch = │
│ "suspend"; │
│ - }; │
│ - powerManagement.powertop.enable = true; │
│ - hardware.cpu.intel.updateMicrocode = true │
│ ; │
│ + # power management, cpu microcode and int │
│ el gpu stack now come from the │
│ + # battery feature + cpu.type/gpu.type in │
│ hardware.nix │
│ system.stateVersion = lib.mkDefault "23.1 │
│ 1"; │
│ } │
└──────────────────────────────────────────────┘
┌─ hosts/ooksmicro/hardware.nix ─────────────────────────────────────────────┐
│ diff --git a/hosts/ooksmicro/hardware.nix b/hosts/ooksmicro/hardware.nix │
│ index 1bd82cd..7164dbd 100644 │
│ --- a/hosts/ooksmicro/hardware.nix │
│ +++ b/hosts/ooksmicro/hardware.nix │
│ @@ -1,8 +1,11 @@ │
│ { │
│ ooknet.hardware = { │
│ + cpu.type = "intel"; │
│ + gpu.type = "intel"; │
│ features = [ │
│ "bluetooth" │
│ "backlight" │
│ + "battery" │
│ "ssd" │
│ "audio" │
│ "video" │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ooksmicro/hardware.nix ───────┐
│ diff --git a/hosts/ooksmicro/hardware.nix b/ │
│ hosts/ooksmicro/hardware.nix │
│ index 1bd82cd..7164dbd 100644 │
│ --- a/hosts/ooksmicro/hardware.nix │
│ +++ b/hosts/ooksmicro/hardware.nix │
│ @@ -1,8 +1,11 @@ │
│ { │
│ ooknet.hardware = { │
│ + cpu.type = "intel"; │
│ + gpu.type = "intel"; │
│ features = [ │
│ "bluetooth" │
│ "backlight" │
│ + "battery" │
│ "ssd" │
│ "audio" │
│ "video" │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET