Move keyboard settings to home-manager
This commit is contained in:
parent
cb94868648
commit
edde4a11d5
@ -4,8 +4,8 @@ let
|
|||||||
secrets = import ./secrets.nix;
|
secrets = import ./secrets.nix;
|
||||||
in {
|
in {
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.layout = "us,ru";
|
#services.xserver.layout = "us,ru"; # see home-manager.nix
|
||||||
services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle";
|
#services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle"; # see home-manager.nix
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
services.xserver.windowManager.xmonad.enable = true;
|
services.xserver.windowManager.xmonad.enable = true;
|
||||||
services.xserver.windowManager.xmonad.enableContribAndExtras = 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;
|
".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.enable = true;
|
||||||
xsession.windowManager.command = "exec xmonad";
|
xsession.windowManager.command = "exec xmonad";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user