mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
32 lines
614 B
Nix
32 lines
614 B
Nix
{ config, tf, meta, kw, pkgs, lib, ... }: with lib; {
|
|
imports = with meta; [
|
|
hardware.oracle.ubuntu
|
|
nixos.network
|
|
services.nginx
|
|
services.knot
|
|
];
|
|
|
|
kw.oci = {
|
|
specs = {
|
|
shape = "VM.Standard.E2.1.Micro";
|
|
cores = 1;
|
|
ram = 1;
|
|
space = 50;
|
|
};
|
|
ad = 2;
|
|
network = {
|
|
publicV6 = 7;
|
|
privateV4 = 3;
|
|
};
|
|
};
|
|
|
|
network = {
|
|
yggdrasil = {
|
|
enable = true;
|
|
pubkey = "fc64ee574072ef7420ff98bc53856f881025de252081e661a78e04ebcf7c6b35";
|
|
address = "200:736:2351:7f1a:2117:be00:ce87:58f5";
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "21.11";
|
|
}
|