update notebook

This commit is contained in:
Zoty 2026-04-24 16:24:17 -03:00
parent 90dd142107
commit de224e898f
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
2 changed files with 32 additions and 2 deletions

View file

@ -20,6 +20,7 @@
den.aspects.core den.aspects.core
den.aspects.niri den.aspects.niri
den.aspects.notebook-specific den.aspects.notebook-specific
den.aspects.dev
den.aspects.secrets den.aspects.secrets
]; ];
nixos = { nixos = {

View file

@ -2,7 +2,12 @@
den.aspects.notebook-specific.nixos = { pkgs, ... }: { den.aspects.notebook-specific.nixos = { pkgs, ... }: {
imports = [ ./_hardware/notebook-hardware.nix ]; imports = [ ./_hardware/notebook-hardware.nix ];
hardware.graphics.enable = true; hardware = {
graphics = {
enable = true;
enable32Bit = true;
};
};
services.thermald.enable = true; services.thermald.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
@ -13,5 +18,29 @@
CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
}; };
}; };
boot = {
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod"];
initrd.kernelModules = [];
kernelModules = ["kvm-intel"];
initrd.compressor = "zstd";
loader = {
grub = {
enable = true;
device = "nodev";
efiSupport = true;
configurationLimit = 2;
};
efi.canTouchEfiVariables = true;
};
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
MOZ_USE_XINPUT2 = "1";
__GL_SYNC_TO_VBLANK = "0";
__GL_MaxFramesAllowed = "1";
};
}; };
} }