From aa22a838536f225fd0fe4325213ef24a419262ec Mon Sep 17 00:00:00 2001 From: Kabbone Date: Mon, 1 Jun 2026 18:09:40 +0200 Subject: [PATCH] fix changes for 26.05 update --- hosts/jupiter/hardware-configuration.nix | 2 ++ modules/desktop/default.nix | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/jupiter/hardware-configuration.nix b/hosts/jupiter/hardware-configuration.nix index 381b59b..ed75f6d 100644 --- a/hosts/jupiter/hardware-configuration.nix +++ b/hosts/jupiter/hardware-configuration.nix @@ -211,11 +211,13 @@ }; fileSystems."/export/Pluto" = { + fsType = "auto"; device = "/mnt/Pluto"; options = ["bind"]; }; fileSystems."/export/Mars" = { + fsType = "auto"; device = "/mnt/Mars"; options = ["bind"]; }; diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 6528a1c..939f92e 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -541,9 +541,12 @@ in { # ── Laptop ───────────────────────────────────────────────────────────── (lib.mkIf cfg.laptop.enable { - systemd.sleep.extraConfig = "HibernateDelaySec=${cfg.laptop.hibernateDelaySec}"; - services.logind.settings.Login.HandleLidSwitch = - cfg.laptop.lidSwitch; + systemd.sleep.settings.Sleep = { + HibernateDelaySec = cfg.laptop.hibernateDelaySec; + }; + services.logind.settings.Login = { + HandleLidSwitch = cfg.laptop.lidSwitch; + }; }) # ── Nitrokey ───────────────────────────────────────────────────────────