Summary Files Commits Branches @commit @diff @stats
path: root / modules / xserver.nix
diff options
context:
space:
mode:
1 files changed, 13 insertions, 0 deletions
-rw-r--r--modules/xserver.nix13
diff --git a/modules/xserver.nix b/modules/xserver.nix
new file mode 100644
index 0000000..05d50ec
--- /dev/null
+++ b/modules/xserver.nix
@@ -0,0 +1,13 @@
+{ pkgs, ... }: {
+ services.xserver = {
+ # xkbmap
+ layout = "us,bg-custom";
+ xkbVariant = ",phonetic-nonstandard";
+ xkbOptions = "grp:rwin_toggle,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 = ../packages/bg-custom;
+ };
+ };
+}