desktop: fix lock

This commit is contained in:
2026-06-07 16:48:51 +02:00
parent 3f5291cbaf
commit f28a6af581
2 changed files with 23 additions and 0 deletions
+22
View File
@@ -10,6 +10,28 @@
quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")"
];
};
flake.homeModules.caelestia-desktop = {lib, ...}: {
# for some reason nvidia drivers or I don't know what break the lock. (activate even when use, crash, etc.)
programs.caelestia.settings.general.idle = {
lockBeforeSleep = lib.mkForce false;
inhibitWhenAudio = true;
timeouts = lib.mkForce [
{
timeout = 180000;
idleAction = "lock";
}
{
timeout = 300;
idleAction = "dpms off"; # what's that?
returnAction = "dpms on";
}
{
timeout = 600;
idleAction = ["systemctl" "suspend-then-hibernate"];
}
];
};
};
flake.homeModules.caelestia = _: let
sisyphe = ../../assets/sisyphe.gif;
pepe-music = ../../assets/pepe-music.gif;
+1
View File
@@ -53,6 +53,7 @@
inputs.caelestia-shell.homeManagerModules.default
anki
caelestia
caelestia-desktop
cursor
development
eza