Summary Files Commits Branches @commit @diff @stats
path: root / packages / default.nix
diff options
context:
space:
mode:
1 files changed, 7 insertions, 2 deletions
-rw-r--r--packages/default.nix9
diff --git a/packages/default.nix b/packages/default.nix
index 1e9551d..7949cc4 100644
--- a/packages/default.nix
+++ b/packages/default.nix
@@ -255,9 +255,14 @@
services.xserver = {
# xkbmap
- layout = "us,bg"; # TODO us,bg-custom
- xkbVariant = ",phonetic";
+ layout = "us,bg-custom";
+ xkbVariant = ",phonetic-nonstandard";
xkbOptions = "grp:alt_shift_toggle,lv3:switch,caps:escape";
+ xkb.extraLayouts.bg-custom = {
+ description = "Non-standard variant of the traditional Bulgarian phonetic keyboard, which replaces some characters with their English counterparts";
+ languages = [ "bg" ];
+ symbolsFile = ./bg-custom;
+ };
# touchpad support
libinput = {