Compare commits
5 Commits
032487f615
...
325361c82a
Author | SHA1 | Date |
---|---|---|
coolneng | 325361c82a | |
coolneng | cf6448ee1d | |
coolneng | 0b8b9d3b28 | |
coolneng | 2b34e5bb72 | |
coolneng | 5e43cdc16c |
|
@ -13,11 +13,11 @@ with pkgs;
|
|||
"nohibernate"
|
||||
"ipv6.disable=1"
|
||||
"ahci.mobile_lpm_policy=3"
|
||||
"pcie_aspm=force"
|
||||
"nmi_watchdog=0"
|
||||
"intel_pstate=disable"
|
||||
];
|
||||
kernelModules = [ "i915" ];
|
||||
kernelModules = [ "i915" "acpi_call" ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
blacklistedKernelModules = [ "btusb" "bluetooth" ];
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
zfs = {
|
||||
|
@ -33,8 +33,7 @@ with pkgs;
|
|||
};
|
||||
services.fwupd.enable = true;
|
||||
|
||||
hardware.opengl.extraPackages =
|
||||
[ intel-media-driver vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||
hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||
|
||||
# Bootloader configuration
|
||||
boot.loader = {
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1673631141,
|
||||
"narHash": "sha256-AprpYQ5JvLS4wQG/ghm2UriZ9QZXvAwh1HlgA/6ZEVQ=",
|
||||
"lastModified": 1674120619,
|
||||
"narHash": "sha256-xLT1FQl7/jNPOEq5q/vmc3AExt1V9LtcjM+QY2+MUpA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "befc83905c965adfd33e5cae49acb0351f6e0404",
|
||||
"rev": "d7705c01ef0a39c8ef532d1033bace8845a07d35",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -13,7 +13,6 @@ let
|
|||
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
|
||||
export GIT_CONFIG_NOSYSTEM=true
|
||||
export SYSTEMD_LESS=FRSMK
|
||||
export LIBVA_DRIVER_NAME=iHD
|
||||
|
||||
exec sway $@
|
||||
'';
|
||||
|
|
|
@ -2,7 +2,13 @@
|
|||
|
||||
{
|
||||
# Enable the TLP daemon
|
||||
services.tlp.enable = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PCIE_ASPM_ON_AC = "performance";
|
||||
PCIE_ASPM_ON_BAT = "powersupersave";
|
||||
};
|
||||
};
|
||||
|
||||
# Enable the auto-cpufreq daemon
|
||||
services.auto-cpufreq.enable = true;
|
||||
|
@ -24,9 +30,6 @@
|
|||
# Prevent overheating of the CPU
|
||||
services.thermald.enable = true;
|
||||
|
||||
# Provide power management support to programs
|
||||
services.upower.enable = true;
|
||||
|
||||
# HACK Enable internal microphone when headphones are plugged in and add workaround for frequent WiFi disconnects
|
||||
hardware.firmware = [
|
||||
(pkgs.writeTextDir "/lib/firmware/hda-jack-retask.fw" ''
|
||||
|
|
Loading…
Reference in New Issue