35 lines
614 B
Nix
35 lines
614 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
environment.systemPackages = [
|
|
pkgs.kitty
|
|
pkgs.nitch
|
|
|
|
];
|
|
environment = {
|
|
etc = {
|
|
"xdg/kitty".source = ./config/etc/xdg/kitty;
|
|
};
|
|
variables = {
|
|
VISUAL = "nvim";
|
|
BROWSER = "firefox";
|
|
};
|
|
};
|
|
programs = {
|
|
starship.enable = true;
|
|
bash = {
|
|
promptInit = ''
|
|
[[ "$TERM" == "xterm-kitty" ]] && export TERM="xterm-256color"
|
|
|
|
[[ -f ${pkgs.nitch}/bin/nitch ]] && nitch
|
|
|
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
|
hyprland --config /etc/xdg/hypr/hyprland.conf
|
|
fi
|
|
'';
|
|
};
|
|
};
|
|
}
|