wry, many thing

This commit is contained in:
atagen 2026-04-08 11:43:10 +10:00
parent 6e62eccfba
commit 848ed62c5d
47 changed files with 1598 additions and 1201 deletions

View file

@ -2,33 +2,32 @@
pkgs,
...
}:
scope "user" {
programs = {
direnv.enable = true;
{
programs.direnv.enable = true;
git = {
enable = true;
settings = {
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:";
};
credential.helper = "rbw";
programs.git = {
enable = true;
config = {
user = {
name = "atagen";
email = "boss@atagen.co";
};
integrations = {
difftastic.enable = true;
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";
};
};
packages = [ pkgs.jujutsu ];
environment.systemPackages = [
pkgs.jujutsu
pkgs.difftastic
];
}