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

16 lines
417 B
Nix
Raw Normal View History

2022-09-26 16:02:29 +02:00
{ config, pkgs, ... }:
{
2022-12-29 20:55:37 +01:00
imports = [ ./init.nix ./bemenu.nix ./waybar.nix ./foot.nix ];
2022-09-26 16:02:29 +02:00
2022-12-29 20:55:37 +01:00
home.packages = with pkgs; [ river swaybg ];
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
'';
}