bugfix(logind): Ensure stable compatibility
This commit is contained in:
parent
1aeb5de333
commit
0314b75a02
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (options ? services.logind) {
|
// lib.optionalAttrs (options ? services.logind && options ? services.logind.settings) {
|
||||||
services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore";
|
services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue