l hw x220: disable lid via new api

This commit is contained in:
lassulus 2019-04-13 14:48:26 +02:00
parent bb2f8b9b92
commit d03c70bb86

View File

@ -30,8 +30,7 @@
};
};
services.logind.extraConfig = ''
HandleLidSwitch=ignore
'';
services.logind.lidSwitch = "ignore";
services.logind.lidSwitchDocked = "ignore";
}