Files
nixy/hosts/laptop/flake.nix
T
KptltD00M 5b6e5a537c chore: update gitignore and nix configurations
- Add `result` and `result/` to `.gitignore`
- Remove `proton-ge-bin` from Steam packages
- Update laptop flake configuration with hardware optimizations
- Adjust graphics and locale settings
- Disable `power-profiles-daemon` in utils and laptop configs
2026-06-24 21:12:46 +02:00

47 lines
930 B
Nix

{
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
];
}