treewide: nixfmt

nixfmt 1.0 has breaking formatting changes
This commit is contained in:
Trolli Schmittlauch 2025-07-30 21:22:01 +02:00
parent 511462d617
commit ce54be9aac
4 changed files with 172 additions and 178 deletions

View file

@ -66,26 +66,25 @@ in
contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; };
in
{
includes =
[
{
condition = "gitdir:~/src/schmittlauch/";
contents = {
user = {
inherit (contacts.schmittlauch) name email;
};
};
}
]
# set default name for several other common locations
++ map (dir: {
condition = "gitdir:${dir}";
includes = [
{
condition = "gitdir:~/src/schmittlauch/";
contents = {
user = {
inherit (contacts.work) name email;
inherit (contacts.schmittlauch) name email;
};
};
}) [ "~/" ];
}
]
# set default name for several other common locations
++ map (dir: {
condition = "gitdir:${dir}";
contents = {
user = {
inherit (contacts.work) name email;
};
};
}) [ "~/" ];
};
# some extra shell scripts