{ inputs, nixpkgs, ... }: nixpkgs.lib.nixosSystem { modules = [ { nixpkgs.overlays = []; _module.args = { inherit inputs; }; } ({ config, pkgs, lib, ... }: { # Intel microcode hardware.cpu.intel.updateMicrocode = true; # Graphics support hardware.graphics = { enable = true; enable32Bit = true; }; # Power management powerManagement.cpuFreqGovernor = "powersave"; services.tlp.enable = true; services.power-profiles-daemon.enable = false; # Kernel modules commonly needed on ThinkPads boot.kernelModules = [ "i915" "snd_hda_intel" "iwlwifi" ]; }) inputs.home-manager.nixosModules.home-manager inputs.stylix.nixosModules.stylix inputs.nix-index-database.nixosModules.default inputs.helium-browser.nixosModules.default ./configuration.nix ]; }