bugfix(logind): Ensure stable compatibility

This commit is contained in:
DashieTM 2025-11-10 10:21:27 +01:00
parent 1aeb5de333
commit 0314b75a02

View file

@ -74,7 +74,7 @@
};
};
}
// lib.optionalAttrs (options ? services.logind) {
// lib.optionalAttrs (options ? services.logind && options ? services.logind.settings) {
services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore";
}
);