fixup! fixup! fixup! WIP: hyper: Init
This commit is contained in:
parent
45b9cd304d
commit
7cb1698467
|
@ -46,6 +46,26 @@
|
|||
};
|
||||
};
|
||||
|
||||
# https://www.reddit.com/r/gigabyte/comments/p5ewjn/b550i_pro_ax_f13_bios_sleep_issue_on_linux/
|
||||
systemd.services.suspend-fix = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "Fix suspend";
|
||||
|
||||
script = ''
|
||||
if grep -q "GPP0 .* \*enabled" /proc/acpi/wakeup; then
|
||||
echo GPP0 > /proc/acpi/wakeup
|
||||
echo "Disabled wakeup for GPP0"
|
||||
else
|
||||
echo "Wakeup for GPP0 already disabled"
|
||||
fi
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/53f4e762-39fa-41a6-8b78-4999d38e6e88";
|
||||
|
|
Loading…
Reference in a new issue