This commit is contained in:
2026-07-31 22:49:18 +09:00
parent a51e9584b0
commit 855b8c55cf
5 changed files with 74 additions and 8 deletions
@@ -1,4 +1,21 @@
{
# A physical desktop is always available for local and remote work. Disable
# every system sleep path; screen blanking while locked is handled by
# services.swayidle in the graphical session.
systemd.sleep.settings.Sleep = {
AllowSuspend = false;
AllowHibernation = false;
AllowHybridSleep = false;
AllowSuspendThenHibernate = false;
};
services.logind.settings.Login.IdleAction = "ignore";
# Keep the CPU policy at the highest-performance governor. Hardware may
# still manage turbo/thermal limits, but it will not select a power-saving
# governor.
powerManagement.cpuFreqGovernor = "performance";
services.displayManager = {
defaultSession = "labwc";
ly.settings.default_session = "labwc";