machines/home: ignore handle power key

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-03 13:36:30 +03:00
parent 20cadb2638
commit 0dd51b9e87
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -76,6 +76,11 @@
];
};
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
# Enable the Docker
virtualisation.docker.enable = true;