tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
feat: add logind extraConfig for power button handling
Kieran Klukas
2 years ago
d4baeb39
1f211401
+5
1 changed file
expand all
collapse all
unified
split
moonlark
configuration.nix
+5
moonlark/configuration.nix
···
216
services.gvfs.enable = true;
217
services.udisks2.enable = true;
218
0
0
0
0
0
219
# Requires at least 5.16 for working wi-fi and bluetooth.
220
# https://community.frame.work/t/using-the-ax210-with-linux-on-the-framework-laptop/1844/89
221
boot = {
···
216
services.gvfs.enable = true;
217
services.udisks2.enable = true;
218
219
+
services.logind.extraConfig = ''
220
+
# don't shutdown when power button is short-pressed
221
+
HandlePowerKey=ignore
222
+
'';
223
+
224
# Requires at least 5.16 for working wi-fi and bluetooth.
225
# https://community.frame.work/t/using-the-ax210-with-linux-on-the-framework-laptop/1844/89
226
boot = {