diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-08-21 17:30:22 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-08-21 17:30:22 +0200 |
commit | acfb8c6aa1f8ef6be578782ddfa903393bcad164 (patch) | |
tree | 641456410aa64b62f35513d43115ece19a7cb3f5 /accounts/gkleen@sif | |
parent | 60d5c33403ec21d5028afd54f09e34b906f55631 (diff) | |
download | nixos-acfb8c6aa1f8ef6be578782ddfa903393bcad164.tar nixos-acfb8c6aa1f8ef6be578782ddfa903393bcad164.tar.gz nixos-acfb8c6aa1f8ef6be578782ddfa903393bcad164.tar.bz2 nixos-acfb8c6aa1f8ef6be578782ddfa903393bcad164.tar.xz nixos-acfb8c6aa1f8ef6be578782ddfa903393bcad164.zip |
gkleen@sif: keyboard config
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 { | |||
207 | ${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} & | 207 | ${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} & |
208 | ${pkgs.xorg.xinput}/bin/xinput disable 'Synaptics TM3512-010' | 208 | ${pkgs.xorg.xinput}/bin/xinput disable 'Synaptics TM3512-010' |
209 | ${pkgs.xorg.xset}/bin/xset s 590 10 | 209 | ${pkgs.xorg.xset}/bin/xset s 590 10 |
210 | ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keysym Caps_Lock = Multi_key' | ||
210 | ''; | 211 | ''; |
211 | }; | 212 | }; |
212 | 213 | ||
@@ -240,6 +241,12 @@ in { | |||
240 | extraProfileCommands = '' | 241 | extraProfileCommands = '' |
241 | 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}}" | 242 | 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}}" |
242 | ''; | 243 | ''; |
244 | |||
245 | keyboard = { | ||
246 | layout = "us"; | ||
247 | variant = "dvp"; | ||
248 | options = [ "ctl:nocaps" ]; | ||
249 | }; | ||
243 | }; | 250 | }; |
244 | 251 | ||
245 | fonts.fontconfig.enable = true; | 252 | fonts.fontconfig.enable = true; |