diff options
author | Alan Pearce | 2018-02-13 13:35:25 +0100 |
---|---|---|
committer | Alan Pearce | 2018-02-13 13:35:25 +0100 |
commit | 092fb00879d9593e41acf085141ebe2574421da4 (patch) | |
tree | 823c3f26af2646e5780e366da36dad4b1c6c46b2 /modules/hardware/colemak.nix | |
parent | b1d95be08bebcb8c1cdf3133b812c861247f8f1d (diff) | |
download | nixos-configuration-092fb00879d9593e41acf085141ebe2574421da4.tar.lz nixos-configuration-092fb00879d9593e41acf085141ebe2574421da4.tar.zst nixos-configuration-092fb00879d9593e41acf085141ebe2574421da4.zip |
Move some startup programs to sessionCommands
Diffstat (limited to 'modules/hardware/colemak.nix')
-rw-r--r-- | modules/hardware/colemak.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/hardware/colemak.nix b/modules/hardware/colemak.nix index 3b1c058..29a03c8 100644 --- a/modules/hardware/colemak.nix +++ b/modules/hardware/colemak.nix @@ -13,5 +13,9 @@ layout = "us,us"; xkbVariant = "colemak,"; xkbOptions = "grp:shifts_toggle,altwin:prtsc_rwin"; + displayManager.sessionCommands = '' + # Needed for pass/rofi-pass autotype + ${pkgs.xlibs.setxkbmap}/bin/setxkbmap us -variant colemak + ''; }; } |