nix/graphical/dev.nix
2026-04-08 11:51:33 +10:00

33 lines
685 B
Nix

{
pkgs,
...
}:
{
programs.direnv.enable = true;
programs.git = {
enable = true;
config = {
user = {
name = "atagen";
email = "boss@atagen.co";
};
init = {
defaultBranch = "main";
};
url = {
"https://github.com/".insteadOf = "github:";
"https://git.lobotomise.me/atagen/".insteadOf = "atagen:";
"https://codeberg.org/".insteadOf = "codeberg:";
"ssh://git@git.kosslan.dev/".insteadOf = "kosslan:";
};
credential.helper = "rbw";
diff.external = "${pkgs.difftastic}/bin/difft";
};
};
environment.systemPackages = [
pkgs.jujutsu
pkgs.difftastic
];
}