mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
let
|
|
sources = import ../../npins;
|
|
lib = import (sources.nixpkgs + "/lib");
|
|
|
|
haskellIdentity = {
|
|
init.defaultBranch = "main";
|
|
user.name = "Léana Jiang";
|
|
};
|
|
|
|
universityIdentity = {
|
|
init.defaultBranch = "main";
|
|
user = {
|
|
name = "Léana CHIANG";
|
|
email = "leana.chiang@etudiant.univ-rennes1.fr";
|
|
signingKey = "0x32035DB97E777EEB";
|
|
};
|
|
};
|
|
|
|
blameIgnore = {
|
|
blame.ignoreRevsFile = ".git-blame-ignore-revs";
|
|
};
|
|
in
|
|
[
|
|
# Univ stuff
|
|
{
|
|
url = "gitlab.istic.univ-rennes1.fr";
|
|
contents = universityIdentity;
|
|
}
|
|
{
|
|
url = "gitlab2.istic.univ-rennes1.fr";
|
|
contents = universityIdentity;
|
|
}
|
|
|
|
# Haskell
|
|
{
|
|
url = "gitlab.haskell.org";
|
|
contents = haskellIdentity;
|
|
}
|
|
|
|
# Blame
|
|
# Turning this on globally will fail if the file doesn't exist
|
|
{
|
|
url = "github.com";
|
|
path = "nixos/nixpkgs.git";
|
|
contents = blameIgnore;
|
|
}
|
|
{
|
|
url = "gitlab.haskell.org";
|
|
path = "ghc/ghc.git";
|
|
contents = blameIgnore;
|
|
}
|
|
{
|
|
url = "github.com";
|
|
path = "haskell/cabal.git";
|
|
contents = blameIgnore;
|
|
}
|
|
]
|