2022-09-26 16:02:29 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-12-30 18:54:52 +01:00
|
|
|
imports = [ ./bemenu.nix ./waybar.nix ./foot.nix ./mako.nix ];
|
2022-09-26 16:02:29 +02:00
|
|
|
|
2022-12-30 18:54:52 +01:00
|
|
|
home.packages = with pkgs; [ river swaybg playerctl pamixer light ];
|
2022-09-26 16:02:29 +02:00
|
|
|
|
|
|
|
programs.zsh.loginExtra = ''
|
|
|
|
[[ -z "''${DISPLAY}" ]] && [[ "$(tty)" = "/dev/tty1" ]] && \
|
2022-12-29 20:55:37 +01:00
|
|
|
export XKB_DEFAULT_LAYOUT="us"
|
|
|
|
export XKB_DEFAULT_VARIANT="altgr-intl"
|
|
|
|
export XKB_DEFAULT_OPTIONS="caps:escape"
|
2022-09-26 16:02:29 +02:00
|
|
|
exec ${pkgs.river}/bin/river
|
|
|
|
'';
|
2022-12-30 18:54:52 +01:00
|
|
|
|
|
|
|
home.file.river_init = {
|
|
|
|
executable = true;
|
|
|
|
target = "${config.xdg.configHome}/river/init";
|
|
|
|
source = ./init;
|
|
|
|
};
|
2022-09-26 16:02:29 +02:00
|
|
|
}
|