mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix: format with alejandra
This commit is contained in:
parent
d5cad148da
commit
95eb4b71e0
118 changed files with 1291 additions and 1703 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
{lib, ...}: {
|
||||
# git plugins
|
||||
programs.git = {
|
||||
lfs.enable = true;
|
||||
|
|
@ -54,22 +53,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.git.includes =
|
||||
let
|
||||
universityIdentity = url: {
|
||||
condition = "hasconfig:remote.*.url:git@${url}:*/**";
|
||||
contents = {
|
||||
init.defaultBranch = "main";
|
||||
user = {
|
||||
name = "Léana CHIANG";
|
||||
email = "leana.chiang@etudiant.univ-rennes1.fr";
|
||||
signingKey = "0x32035DB97E777EEB";
|
||||
};
|
||||
programs.git.includes = let
|
||||
universityIdentity = url: {
|
||||
condition = "hasconfig:remote.*.url:git@${url}:*/**";
|
||||
contents = {
|
||||
init.defaultBranch = "main";
|
||||
user = {
|
||||
name = "Léana CHIANG";
|
||||
email = "leana.chiang@etudiant.univ-rennes1.fr";
|
||||
signingKey = "0x32035DB97E777EEB";
|
||||
};
|
||||
};
|
||||
in
|
||||
[
|
||||
(universityIdentity "gitlab.istic.univ-rennes1.fr")
|
||||
(universityIdentity "gitlab2.istic.univ-rennes1.fr")
|
||||
];
|
||||
};
|
||||
in [
|
||||
(universityIdentity "gitlab.istic.univ-rennes1.fr")
|
||||
(universityIdentity "gitlab2.istic.univ-rennes1.fr")
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue