1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ config, ... }: { home = { sessionVariables = { EDITOR = "nvim"; VISUAL = config.home.sessionVariables.EDITOR; CARGO_HOME = "${config.xdg.dataHome}/cargo"; LESSHISTFILE = "${config.xdg.stateHome}/less/history"; }; shellAliases = { diff = "diff --color=auto"; g = "git"; gs = "g status"; }; }; }