mirror of
https://github.com/callumio/nixfiles.git
synced 2026-05-06 11:08:09 +01:00
lots of updates from the past few months
This commit is contained in:
parent
d400e84092
commit
ba4f1bcfcc
12 changed files with 228 additions and 420 deletions
|
|
@ -1,39 +1,41 @@
|
|||
{...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
|
||||
userName = "Callum Leslie";
|
||||
userEmail = "git@cleslie.uk";
|
||||
signing.key = "03B01F427831BCFD!";
|
||||
signing.signByDefault = true;
|
||||
userName = "Callum Leslie";
|
||||
userEmail = "git@cleslie.uk";
|
||||
signing.key = "03B01F427831BCFD!";
|
||||
signing.signByDefault = true;
|
||||
|
||||
ignores = [".direnv/"];
|
||||
ignores = [".direnv/"];
|
||||
|
||||
includes = [
|
||||
{
|
||||
condition = "gitdir:~/repos/projects.cs.nott.ac.uk/";
|
||||
contents = {
|
||||
user = {
|
||||
email = "psycl6@nottingham.ac.uk";
|
||||
signingKey = "14861F1282EFB5C8!";
|
||||
includes = [
|
||||
{
|
||||
condition = "gitdir:~/repos/projects.cs.nott.ac.uk/";
|
||||
contents = {
|
||||
user = {
|
||||
email = "psycl6@nottingham.ac.uk";
|
||||
signingKey = "14861F1282EFB5C8!";
|
||||
};
|
||||
credential = {helper = "store";};
|
||||
};
|
||||
credential = {helper = "store";};
|
||||
}
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
core = {
|
||||
longpaths = true;
|
||||
autocrlf = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
core = {
|
||||
longpaths = true;
|
||||
autocrlf = false;
|
||||
init = {defaultBranch = "main";};
|
||||
|
||||
push = {autoSetupRemote = true;};
|
||||
ghq = {root = "~/repos";};
|
||||
};
|
||||
|
||||
init = {defaultBranch = "main";};
|
||||
|
||||
push = {autoSetupRemote = true;};
|
||||
ghq = {root = "~/repos";};
|
||||
};
|
||||
|
||||
delta.enable = true;
|
||||
delta.enableGitIntegration = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue