Skip to content

Instantly share code, notes, and snippets.

@techhazard
Last active April 9, 2017 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techhazard/91cdc46409b0e4d3af16412c14386b41 to your computer and use it in GitHub Desktop.
Save techhazard/91cdc46409b0e4d3af16412c14386b41 to your computer and use it in GitHub Desktop.
NixOS: Programmer dvorak
# place this file in /etc/nixos/ and add
# ./programmer-dvorak.nix
# to /etc/nixos/configuration.nix in `imports`
{config, pkgs, ...}:
{
# TTY settings
i18n = {
# luckily this also changes the keyboard layout at boot (for e.g full disk encryption passwords)
consoleKeyMap = "dvorak-programmer";
};
# GUI settings, this includes login screen
services.xserver.layout = "us";
services.xserver.xkbVariant = "dvp";
services.xserver.xkbOptions = "eurosign:e";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment