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
aa1f72eeca
commit
53f9ff3730
12 changed files with 70 additions and 79 deletions
|
|
@ -62,15 +62,13 @@
|
|||
aaaa.address = config.hexchen.network.address;
|
||||
};
|
||||
|
||||
hexchen.network = {
|
||||
enable = true;
|
||||
pubkey = "55e3f29c252d16e73ac849a6039824f94df1dee670c030b9e29f90584f935575";
|
||||
# if server, enable this and set endpoint:
|
||||
listen.enable = false;
|
||||
listen.endpoints = [
|
||||
"tcp://0.0.0.0:0"
|
||||
];
|
||||
};
|
||||
hexchen.network = {
|
||||
enable = true;
|
||||
pubkey = "55e3f29c252d16e73ac849a6039824f94df1dee670c030b9e29f90584f935575";
|
||||
# if server, enable this and set endpoint:
|
||||
listen.enable = false;
|
||||
listen.endpoints = [ "tcp://0.0.0.0:0" ];
|
||||
};
|
||||
system.stateVersion = "20.09";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
hexchen = (import sources.nix-hexchen) {};
|
||||
hexYgg = filterAttrs (_: c: c.enable) (
|
||||
mapAttrs (_: host: host.config.hexchen.network) hexchen.hosts
|
||||
);
|
||||
hexchen = (import sources.nix-hexchen) { };
|
||||
hexYgg = filterAttrs (_: c: c.enable)
|
||||
(mapAttrs (_: host: host.config.hexchen.network) hexchen.hosts);
|
||||
in {
|
||||
# stuff so dummy host is buildable (you probably don't want/need this???)
|
||||
# but idk your config sooooo
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
hexchen = (import sources.nix-hexchen) {};
|
||||
hexYgg = filterAttrs (_: c: c.enable) (
|
||||
mapAttrs (_: host: host.config.hexchen.network) hexchen.hosts
|
||||
);
|
||||
hexchen = (import sources.nix-hexchen) { };
|
||||
hexYgg = filterAttrs (_: c: c.enable)
|
||||
(mapAttrs (_: host: host.config.hexchen.network) hexchen.hosts);
|
||||
in {
|
||||
imports = [
|
||||
./hw.nix
|
||||
|
|
@ -38,7 +37,6 @@ in {
|
|||
value.shellCommand = "bitw get infra/hexdns-dynamic -f hostname";
|
||||
};
|
||||
|
||||
|
||||
security.acme.certs."samhain.net.kittywit.ch" = {
|
||||
domain = "samhain.net.kittywit.ch";
|
||||
dnsProvider = "rfc2136";
|
||||
|
|
@ -121,9 +119,7 @@ in {
|
|||
pubkey = "a7110d0a1dc9ec963d6eb37bb6922838b8088b53932eae727a9136482ce45d47";
|
||||
# if server, enable this and set endpoint:
|
||||
listen.enable = false;
|
||||
listen.endpoints = [
|
||||
"tcp://0.0.0.0:0"
|
||||
];
|
||||
listen.endpoints = [ "tcp://0.0.0.0:0" ];
|
||||
};
|
||||
|
||||
deploy.tf.dns.records.kittywitch_net_samhain = {
|
||||
|
|
|
|||
|
|
@ -75,11 +75,11 @@
|
|||
useACMEHost = "samhain.net.kittywit.ch";
|
||||
forceSSL = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
"/" = {
|
||||
root = "/mnt/zraw/media/";
|
||||
extraConfig = "autoindex on;";
|
||||
};
|
||||
"/transmission" = {
|
||||
"/transmission" = {
|
||||
proxyPass = "http://[::1]:9091";
|
||||
extraConfig = "proxy_pass_header X-Transmission-Session-Id;";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -25,15 +25,13 @@
|
|||
networking.interfaces.wlp2s0.useDHCP = true;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
hexchen.network = {
|
||||
enable = true;
|
||||
pubkey = "9779fd6b5bdba6b9e0f53c96e141f4b11ce5ef749d1b9e77a759a3fdbd33a653";
|
||||
# if server, enable this and set endpoint:
|
||||
listen.enable = false;
|
||||
listen.endpoints = [
|
||||
"tcp://0.0.0.0:0"
|
||||
];
|
||||
};
|
||||
hexchen.network = {
|
||||
enable = true;
|
||||
pubkey = "9779fd6b5bdba6b9e0f53c96e141f4b11ce5ef749d1b9e77a759a3fdbd33a653";
|
||||
# if server, enable this and set endpoint:
|
||||
listen.enable = false;
|
||||
listen.endpoints = [ "tcp://0.0.0.0:0" ];
|
||||
};
|
||||
|
||||
deploy.tf.dns.records.kittywitch_net_yule = {
|
||||
tld = "kittywit.ch.";
|
||||
|
|
@ -41,7 +39,6 @@
|
|||
aaaa.address = config.hexchen.network.address;
|
||||
};
|
||||
|
||||
|
||||
system.stateVersion = "20.09";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue