From b7d2a48d4cded88b0f534a2b7c2621728c3144d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Wed, 24 Aug 2022 18:45:34 +0200 Subject: [PATCH] Fix hibernation for biolimo --- hosts/biolimo/biolimo.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/biolimo/biolimo.nix b/hosts/biolimo/biolimo.nix index 820225e..1ff4289 100644 --- a/hosts/biolimo/biolimo.nix +++ b/hosts/biolimo/biolimo.nix @@ -10,6 +10,10 @@ in ]; config = { + pub-solar.paranoia.enable = true; + pub-solar.core.hibernation.resumeDevice = "/dev/dm-0"; + pub-solar.core.hibernation.resumeOffset = 15296512; + hardware.cpu.intel.updateMicrocode = true; networking.firewall.allowedTCPPorts = [ 5000 ];