mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-04-01 02:00:22 +02:00
Formatting + misc changes
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
|
||||
vaapi-intel-hybrid
|
||||
vpl-gpu-rt
|
||||
];
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
systemd.services.disable-problematic-wakeup = {
|
||||
description = "Disable only specific noisy wakeup sources";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.bash}/bin/bash -c 'for device in XHC RP09 RP10 RP13; do if grep -q \"$device.*enabled\" /proc/acpi/wakeup; then echo $device > /proc/acpi/wakeup; fi; done'";
|
||||
|
||||
Reference in New Issue
Block a user