diff options
| author | polwex <polwex@sortug.com> | 2025-10-14 06:35:29 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-10-14 06:35:29 +0700 |
| commit | 0983b8509b5595c8214f0df9264ccfb34af50ad7 (patch) | |
| tree | f034284a73de6f0eb8d7b250257b1d71ac403bfa /hosts/local/fw11/keyboard.nix | |
| parent | a61c5db40ee85f98e6f40417c73ef10ca566aa19 (diff) | |
m
Diffstat (limited to 'hosts/local/fw11/keyboard.nix')
| -rw-r--r-- | hosts/local/fw11/keyboard.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/local/fw11/keyboard.nix b/hosts/local/fw11/keyboard.nix index ce875dd..f078258 100644 --- a/hosts/local/fw11/keyboard.nix +++ b/hosts/local/fw11/keyboard.nix @@ -1,8 +1,8 @@ {pkgs, ...}: { - services.logind.extraConfig = '' + services.logind.settings.Login = { # don’t shutdown when power button is short-pressed - HandlePowerKey=ignore - ''; + HandlePowerKey = "ignore"; + }; # config file keeps getting rewritten but I don't know by who i18n.inputMethod = { @@ -36,7 +36,7 @@ usbThinkpad = { # device = "/dev/input/by-id/usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-event-kbd"; device = "/dev/input/by-id/usb-Lenovo_TrackPoint_Keyboard_II-event-kbd"; - config = builtins.readFile ./thinkpad.kbd; + config = builtins.readFile ../thinkpad.kbd; }; }; }; |
