Move keyboard settings to home-manager
This commit is contained in:
parent
cb94868648
commit
edde4a11d5
@ -4,8 +4,8 @@ let
|
||||
secrets = import ./secrets.nix;
|
||||
in {
|
||||
services.xserver.enable = true;
|
||||
services.xserver.layout = "us,ru";
|
||||
services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle";
|
||||
#services.xserver.layout = "us,ru"; # see home-manager.nix
|
||||
#services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle"; # see home-manager.nix
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
services.xserver.windowManager.xmonad.enable = true;
|
||||
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
|
||||
|
@ -67,6 +67,11 @@ in {
|
||||
".oh-my-zsh-custom/plugins/tmux-my/tmux-my.plugin.zsh".source = ./etc/tmux-my/tmux-my.plugin.zsh;
|
||||
};
|
||||
|
||||
home.keyboard = {
|
||||
layout = "us,ru";
|
||||
options = [ "ctrl:nocaps" "grp:rctrl_toggle" ];
|
||||
};
|
||||
|
||||
xsession.enable = true;
|
||||
xsession.windowManager.command = "exec xmonad";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user