diff options
| author | polwex <polwex@sortug.com> | 2025-10-22 14:02:16 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-10-22 14:02:16 +0700 |
| commit | 21adca7e6d8f8233ac8d6c00c7be43dc026e8cc5 (patch) | |
| tree | 1fffcd2c077af786ec4f28f1109a5d426295a398 /hosts/local/fw11/keyboard.nix | |
| parent | 4bb8dd864cf5077018327d6f55058b87def03d45 (diff) | |
| parent | f11a2b69c2fb5ef6111af107deba37114f7ab2ff (diff) | |
Merge branch 'fw'
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; }; }; }; |
