compat: update deprecated config formats

This commit is contained in:
Kiana Sheibani 2025-10-22 13:06:06 -04:00
parent 9afcb20494
commit c6be7e059e
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 14 additions and 10 deletions

View file

@ -31,11 +31,9 @@ in
networking.networkmanager.enable = true;
# Power button settings
services.logind = {
extraConfig = ''
HandlePowerKey=ignore
HandlePowerKeyLongPress=poweroff
'';
services.logind.settings.Login = {
HandlePowerKey = "ignore";
HandlePowerKeyLongPress = "poweroff";
};
# Set your time zone.