git config contacts: bump submodule, adapt to restructuring
This commit is contained in:
parent
0a4a26f94e
commit
0f4bf77cbf
4 changed files with 23 additions and 21 deletions
|
@ -39,23 +39,21 @@ in
|
|||
extraOptions.IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
|
||||
};
|
||||
|
||||
"hydra01" = lib.hm.dag.entryAfter ["*"] {
|
||||
"hydra01" = lib.hm.dag.entryAfter [ "*" ] {
|
||||
hostname = "hydra01.access.whq.gocept.net";
|
||||
user = "os";
|
||||
};
|
||||
"fcio-whq-jump" = lib.hm.dag.entryAfter ["*"] {
|
||||
"fcio-whq-jump" = lib.hm.dag.entryAfter [ "*" ] {
|
||||
hostname = "vpn-whq.services.fcio.net";
|
||||
extraOptions.LogLevel = "Verbose";
|
||||
};
|
||||
"fcio-rzob-jump" = lib.hm.dag.entryAfter ["*"] {
|
||||
hostname = "vpn-rzob.services.fcio.net";
|
||||
};
|
||||
"fcio-rzob-jump" = lib.hm.dag.entryAfter [ "*" ] { hostname = "vpn-rzob.services.fcio.net"; };
|
||||
};
|
||||
};
|
||||
|
||||
programs.git =
|
||||
let
|
||||
contacts = import "${inputs.mysecrets}/contacts.nix";
|
||||
contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; };
|
||||
in
|
||||
{
|
||||
includes =
|
||||
|
@ -63,8 +61,9 @@ in
|
|||
{
|
||||
condition = "gitdir:~/src/schmittlauch/";
|
||||
contents = {
|
||||
user.name = "Trolli Schmittlauch";
|
||||
user.email = contacts.nixosMail;
|
||||
user = {
|
||||
inherit (contacts.schmittlauch) name email;
|
||||
};
|
||||
};
|
||||
}
|
||||
]
|
||||
|
@ -72,8 +71,9 @@ in
|
|||
++ map (dir: {
|
||||
condition = "gitdir:${dir}";
|
||||
contents = {
|
||||
user.name = contacts.realName;
|
||||
user.email = contacts.fcioMail;
|
||||
user = {
|
||||
inherit (contacts.work) name email;
|
||||
};
|
||||
};
|
||||
}) [ "~/" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue