From 092fb00879d9593e41acf085141ebe2574421da4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 13 Feb 2018 13:35:25 +0100 Subject: Move some startup programs to sessionCommands --- modules/hardware/colemak.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/hardware/colemak.nix') 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 + ''; }; } -- cgit 1.4.1