From acfb8c6aa1f8ef6be578782ddfa903393bcad164 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 21 Aug 2021 17:30:22 +0200 Subject: gkleen@sif: keyboard config --- accounts/gkleen@sif/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index ebd081bc..9161d887 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -207,6 +207,7 @@ in { ${pkgs.coreutils}/bin/env XSECURELOCK_WANT_FIRST_KEYPRESS=1 XSECURELOCK_DIM_ALPHA=1 ${pkgs.xss-lock}/bin/xss-lock -l -n ${pkgs.xsecurelock}/libexec/xsecurelock/dimmer -- ${lockScript} & ${pkgs.xorg.xinput}/bin/xinput disable 'Synaptics TM3512-010' ${pkgs.xorg.xset}/bin/xset s 590 10 + ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keysym Caps_Lock = Multi_key' ''; }; @@ -240,6 +241,12 @@ in { extraProfileCommands = '' export XDG_DATA_DIRS="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}''${XDG_DATA_DIRS:+:''${XDG_DATA_DIRS}}" ''; + + keyboard = { + layout = "us"; + variant = "dvp"; + options = [ "ctl:nocaps" ]; + }; }; fonts.fontconfig.enable = true; -- cgit v1.2.3