mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-23 09:45:52 +01:00
26 lines
601 B
Nix
26 lines
601 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}/bin/xkeysnail ${../../other/xkeysnail.py}";
|
|
always = true;
|
|
}
|
|
{
|
|
command = "sleep 4 && setxkbmap -layout us -variant altgr-intl";
|
|
always = true;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|