mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 08:25:07 +03:00
Ignore power key on Celerrime
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
52558eb581
commit
7a0d5a2890
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ in {
|
||||||
boot.loader.efi.canTouchEfiVariables = false;
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
# Enable screen space near notch
|
# Enable screen space near notch
|
||||||
boot.kernelParams = [ "apple_dcp.show_notch=1" ];
|
boot.kernelParams = [ "apple_dcp.show_notch=1" ];
|
||||||
|
services.logind.extraConfig = ''
|
||||||
|
HandlePowerKey=ignore
|
||||||
|
'';
|
||||||
|
|
||||||
my.laptop.enable = true;
|
my.laptop.enable = true;
|
||||||
my.git.enable = true;
|
my.git.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue