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
This commit is contained in:
+29
-2
@@ -3,17 +3,44 @@
|
||||
nixpkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.overlays = [];
|
||||
_module.args = {inherit inputs;};
|
||||
_module.args = {
|
||||
inherit inputs;
|
||||
};
|
||||
}
|
||||
inputs.nixos-hardware.nixosModules.omen-16-n0005ne
|
||||
|
||||
({ 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
|
||||
];
|
||||
}
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
AQ_DRM_DEVICES = "/dev/dri/card2:/dev/dri/card1"; # CHANGEME: Related to the GPU
|
||||
# Graphics devices for Intel Iris Xe Graphics
|
||||
# AQ_DRM_DEVICES = "/dev/dri/card0"; # Single GPU configuration
|
||||
};
|
||||
|
||||
# Don't touch this
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
timeZone = "Europe/Berlin";
|
||||
defaultLocale = "de_DE.UTF-8";
|
||||
extraLocale = "en_EN.UTF-8";
|
||||
extraLocale = "en_US.UTF-8";
|
||||
|
||||
git = {
|
||||
username = "kptltd00m";
|
||||
|
||||
Reference in New Issue
Block a user