nix-dotfiles/programs/xonsh/default.nix
2024-03-16 11:12:22 -07:00

17 lines
340 B
Nix

{ config, pkgs, ... }:
let rootPath = ./.; in
{
home.packages = with pkgs; [
xonsh
];
home.sessionVariables = {
PROMPT = "τ ";
RIGHT_PROMPT = "{YELLOW}{gitstatus: {} }{BLUE}{short_cwd}{DEFAULT}";
VI_MODE = 1;
};
xdg.configFile."xonshrc" = {
source = rootPath + "/rc.xsh";
target = "xonsh/rc.xsh";
};
}