machines/home: ignore handle power key
This commit is contained in:
parent
20cadb2638
commit
0dd51b9e87
1 changed files with 5 additions and 0 deletions
|
@ -76,6 +76,11 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.logind.extraConfig = ''
|
||||
# don’t shutdown when power button is short-pressed
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
|
||||
# Enable the Docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue