[Unit]
Description=Set X11 Keymap

[Service]
PassEnvironment=ARCH_X11_KEYMAP
ExecStart=bash -c 'localectl set-x11-keymap "$ARCH_X11_KEYMAP"; poweroff'

[Install]
WantedBy=multi-user.target