diff options
Diffstat (limited to 'modules/workstation/hardware/pixelbook')
-rw-r--r-- | modules/workstation/hardware/pixelbook/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/workstation/hardware/pixelbook/default.nix b/modules/workstation/hardware/pixelbook/default.nix new file mode 100644 index 000000000000..b708abc85a3d --- /dev/null +++ b/modules/workstation/hardware/pixelbook/default.nix @@ -0,0 +1,17 @@ +{ ... }: + +{ + imports = [ ../../../nixos-hardware/google/pixelbook ]; + + boot.postBootCommands = '' + # Remap Google Assistant to left super. + /run/current-system/sw/bin/setkeycodes e058 125 + + # Remap menu to compose. + /run/current-system/sw/bin/setkeycodes 5d 127 + ''; + + services.logind.extraConfig = '' + HandlePowerKey=suspend + ''; +} |