git stuff
This commit is contained in:
parent
97134ce956
commit
33c551c0b2
2 changed files with 26 additions and 3 deletions
|
|
@ -4,9 +4,11 @@ let
|
|||
name = "${name}.lan";
|
||||
inherit value;
|
||||
}) var.wg.ips;
|
||||
custom-hosts = { };
|
||||
custom-hosts = with var.wg.ips; {
|
||||
"git.lan" = roam;
|
||||
};
|
||||
in
|
||||
rec {
|
||||
hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${v}\t${n}") hosts);
|
||||
hosts = lan-hosts // custom-hosts;
|
||||
hostsFile = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${v}\t${n}") hosts);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue