forked from KptltD00M/nixy
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:
@@ -1,3 +1,5 @@
|
|||||||
.sops.yaml
|
.sops.yaml
|
||||||
.claude/
|
.claude/
|
||||||
old/
|
old/
|
||||||
|
result/
|
||||||
|
result
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
steam
|
steam
|
||||||
protonup-ng
|
protonup-ng
|
||||||
proton-ge-bin
|
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.desktopEntries = {
|
xdg.desktopEntries = {
|
||||||
|
|||||||
+29
-2
@@ -3,17 +3,44 @@
|
|||||||
nixpkgs,
|
nixpkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [];
|
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.home-manager.nixosModules.home-manager
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.nix-index-database.nixosModules.default
|
inputs.nix-index-database.nixosModules.default
|
||||||
inputs.helium-browser.nixosModules.default
|
inputs.helium-browser.nixosModules.default
|
||||||
|
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
sessionVariables = {
|
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
|
# Don't touch this
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
timeZone = "Europe/Berlin";
|
timeZone = "Europe/Berlin";
|
||||||
defaultLocale = "de_DE.UTF-8";
|
defaultLocale = "de_DE.UTF-8";
|
||||||
extraLocale = "en_EN.UTF-8";
|
extraLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
username = "kptltd00m";
|
username = "kptltd00m";
|
||||||
|
|||||||
+1
-1
@@ -83,7 +83,7 @@ in {
|
|||||||
};
|
};
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
upower.enable = true;
|
upower.enable = true;
|
||||||
power-profiles-daemon.enable = true;
|
power-profiles-daemon.enable = false;
|
||||||
udisks2.enable = true;
|
udisks2.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user