diff options
1 files changed, 21 insertions, 0 deletions
| -rw-r--r-- | modules/general-settings.nix | 21 |
diff --git a/modules/general-settings.nix b/modules/general-settings.nix new file mode 100644 index 0000000..652c55c --- /dev/null +++ b/modules/general-settings.nix @@ -0,0 +1,21 @@ +{ pkgs, ... }: { + nixpkgs.config.allowUnfree = true; + + 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; + }; + + # touchpad support + libinput = { + enable = true; + touchpad.naturalScrolling = true; + }; + }; +} |
