mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 17:47:57 +00:00
chore: migrate cube host
This commit is contained in:
parent
dad68acf68
commit
f2ab446c48
45 changed files with 904 additions and 88 deletions
|
@ -1,14 +1,14 @@
|
|||
{ lib, ... }: let
|
||||
inherit (lib) mkConst;
|
||||
in {
|
||||
options.dnsServers = mkConst [
|
||||
options.networking.dns.servers = mkConst [
|
||||
"45.90.28.0#7f2bf8.dns.nextdns.io"
|
||||
"2a07:a8c0::#7f2bf8.dns.nextdns.io"
|
||||
"45.90.30.0#7f2bf8.dns.nextdns.io"
|
||||
"2a07:a8c1::#7f2bf8.dns.nextdns.io"
|
||||
];
|
||||
|
||||
options.fallbackDnsServers = mkConst [
|
||||
options.networking.dns.serversFallback = mkConst [
|
||||
"1.1.1.1#one.one.one.one"
|
||||
"2606:4700:4700::1111#one.one.one.one"
|
||||
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
inherit (lib) mkValue;
|
||||
in {
|
||||
options.networking = {
|
||||
ipv4 = mkValue null;
|
||||
ipv6 = mkValue null;
|
||||
ipv4.address = mkValue null;
|
||||
ipv4.prefixLength = mkValue 22;
|
||||
|
||||
ipv6.address = mkValue null;
|
||||
ipv6.prefixLength = mkValue 64;
|
||||
};
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -34,20 +34,20 @@ in {
|
|||
|
||||
# TODO: Maybe autogenerate these?
|
||||
|
||||
# cube = {
|
||||
# hostname = self.cube.networking.ipv4;
|
||||
# user = "rgb";
|
||||
# port = 2222;
|
||||
# };
|
||||
cube = {
|
||||
hostname = self.cube.networking.ipv4.address;
|
||||
user = "rgb";
|
||||
port = 2222;
|
||||
};
|
||||
|
||||
disk = {
|
||||
hostname = self.disk.networking.ipv4;
|
||||
hostname = self.disk.networking.ipv4.address;
|
||||
user = "floppy";
|
||||
port = 2222;
|
||||
};
|
||||
|
||||
nine = {
|
||||
hostname = self.nine.networking.ipv4;
|
||||
hostname = self.nine.networking.ipv4.address;
|
||||
user = "seven";
|
||||
port = 2222;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue