mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
project-wide: nixdirfmt
This commit is contained in:
parent
5803aaeab2
commit
ef47ab4b08
2 changed files with 11 additions and 7 deletions
|
|
@ -43,11 +43,11 @@
|
|||
useDHCP = false;
|
||||
interfaces.enp1s0.useDHCP = true;
|
||||
};
|
||||
|
||||
networking.interfaces.enp1s0.ipv6.addresses = [ {
|
||||
|
||||
networking.interfaces.enp1s0.ipv6.addresses = [{
|
||||
address = "2a01:4f8:c2c:b7a8::1";
|
||||
prefixLength = 64;
|
||||
} ];
|
||||
}];
|
||||
|
||||
networking.defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
|
|
@ -75,7 +75,8 @@
|
|||
deploy.tf.dns.records.kittywitch_athame_v6 = {
|
||||
tld = "kittywit.ch.";
|
||||
domain = "athame";
|
||||
aaaa.address = (lib.head config.networking.interfaces.enp1s0.ipv6.addresses).address;
|
||||
aaaa.address =
|
||||
(lib.head config.networking.interfaces.enp1s0.ipv6.addresses).address;
|
||||
};
|
||||
|
||||
hexchen.network = {
|
||||
|
|
@ -83,7 +84,8 @@
|
|||
pubkey = "55e3f29c252d16e73ac849a6039824f94df1dee670c030b9e29f90584f935575";
|
||||
# if server, enable this and set endpoint:
|
||||
listen.enable = true;
|
||||
listen.endpoints = [ "tcp://168.119.126.111:62969" "tcp://2a01:4f8:c2c:b7a8::1:62969" ];
|
||||
listen.endpoints =
|
||||
[ "tcp://168.119.126.111:62969" "tcp://2a01:4f8:c2c:b7a8::1:62969" ];
|
||||
};
|
||||
system.stateVersion = "20.09";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,8 +17,10 @@ in {
|
|||
enable = true;
|
||||
pubkey = "0000000000000000000000000000000000000000000000000000000000000000";
|
||||
listen.enable = true;
|
||||
listen.endpoints = flatten (map (c: c.listen.endpoints)
|
||||
(filter (c: c.listen.enable && (c.pubkey != "0000000000000000000000000000000000000000000000000000000000000000")) (attrValues hexYgg)));
|
||||
listen.endpoints = flatten (map (c: c.listen.endpoints) (filter (c:
|
||||
c.listen.enable && (c.pubkey
|
||||
!= "0000000000000000000000000000000000000000000000000000000000000000"))
|
||||
(attrValues hexYgg)));
|
||||
extra.pubkeys = {
|
||||
satorin =
|
||||
"53d99a74a648ff7bd5bc9ba68ef4f472fb4fb8b2e26dfecea33c781f0d5c9525";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue