summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-08-01 10:16:21 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-08-01 10:18:25 -0500
commiteb80a670dfcc78afd2a9459eb5515027b78cc736 (patch)
tree734ec23aedf86d5ee0d61fecdefbc74e7178336a
parent726ef32d2631f15f991591ef6879925e08f442f6 (diff)
kusanagi: remove non-working hiberation
Assisted-by: Claude:Opus-4.8
-rw-r--r--machines/kusanagi/default.nix24
1 files changed, 3 insertions, 21 deletions
diff --git a/machines/kusanagi/default.nix b/machines/kusanagi/default.nix
index bab9acd..7bf1798 100644
--- a/machines/kusanagi/default.nix
+++ b/machines/kusanagi/default.nix
@@ -22,27 +22,9 @@
powerManagement.cpuFreqGovernor = "performance";
- # --- Idle suspend + Wake-on-LAN ---
- # Suspend to RAM after 15 min idle instead of running 24/7. While asleep the
- # servers (Kavita/Immich/Ollama/NFS) are unreachable; wake it with a magic
- # packet from another LAN host (`wol`/`etherwake <MAC>`, or a phone WoL app) or
- # a keypress. Tailscale can't wake it directly — the packet is layer-2 LAN-only.
- #
- # CAVEAT: swayidle keys off *input* inactivity, not load. A long Ollama
- # generation or an Immich background job with no keyboard/mouse activity will
- # still suspend at 15 min. If that bites, add a load/inhibit guard (ask me).
- networking.interfaces.enp9s0.wakeOnLan.enable = true;
-
- systemd.user.services.swayidle = {
- description = "Suspend to RAM after idle";
- wantedBy = [ "graphical-session.target" ];
- partOf = [ "graphical-session.target" ];
- after = [ "graphical-session.target" ];
- serviceConfig = {
- ExecStart = "${pkgs.swayidle}/bin/swayidle -w timeout 900 'systemctl suspend'";
- Restart = "on-failure";
- };
- };
+ # NOTE: idle sleep intentionally not configured. Suspend-to-RAM bounced awake
+ # within ~5 s on this hardware (spurious S3 wakeup) and there's no swap to
+ # hibernate into. Deferred to a future disko rebuild (real swap/encryption).
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];