nix/graphical/dev.nix

44 lines
814 B
Nix

{
pkgs,
localPkgs,
scope,
...
}:
scope "user" {
programs = {
direnv = {
enable = true;
integrations.fish.enable = true;
};
git = {
enable = true;
settings = {
user = {
name = "atagen";
email = "boss@atagen.co";
};
# merge = {
# conflictstyle = "diff3";
# };
init = {
defaultBranch = "main";
};
url = {
"https://github.com/".insteadOf = "github:";
"https://git.atagen.co/".insteadOf = "atagen:";
"https://codeberg.org/".insteadOf = "codeberg:";
};
credential.helper = "rbw";
};
integrations = {
difftastic.enable = true;
};
};
};
packages = [
localPkgs.rbw-helper
pkgs.direnv
];
}