tvl-depot/system/machines/bumblebee.nix
Griffin Smith a566e0208f Swap caps+escape and alt+super
only on chupacabra laptop keyboard
2020-04-05 15:26:16 -04:00

23 lines
422 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../modules/reusable/battery.nix
];
networking.hostName = "bumblebee";
powerManagement = {
enable = true;
cpuFreqGovernor = "powersave";
powertop.enable = true;
};
# Hibernate on low battery
laptop.onLowBattery = {
enable = true;
action = "hibernate";
thresholdPercentage = 5;
};
services.xserver.xkbOptions = "caps:swapescape";
}