nix-config/home/desktop-river/default.nix

16 lines
417 B
Nix

{ config, pkgs, ... }:
{
imports = [ ./init.nix ./bemenu.nix ./waybar.nix ./foot.nix ];
home.packages = with pkgs; [ river swaybg ];
programs.zsh.loginExtra = ''
[[ -z "''${DISPLAY}" ]] && [[ "$(tty)" = "/dev/tty1" ]] && \
export XKB_DEFAULT_LAYOUT="us"
export XKB_DEFAULT_VARIANT="altgr-intl"
export XKB_DEFAULT_OPTIONS="caps:escape"
exec ${pkgs.river}/bin/river
'';
}