27 lines
587 B
Nix
27 lines
587 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
config = {
|
||
|
services.xserver.windowManager.i3.extraPackages = with pkgs; [
|
||
|
xkeysnail
|
||
|
xorg.xhost
|
||
|
xorg.setxkbmap
|
||
|
];
|
||
|
|
||
|
home-manager.users.jade = { pkgs, ... }: {
|
||
|
xsession.windowManager.i3.config.startup = [
|
||
|
{
|
||
|
command = "xhost +";
|
||
|
}
|
||
|
{
|
||
|
command = "${pkgs.xkeysnail} ${../../other/xkeysnail.py}";
|
||
|
always = true;
|
||
|
}
|
||
|
{
|
||
|
command = "sleep 4 && setxkbmap -layout us -variant altgr-intl";
|
||
|
always = true;
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|