mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
46 lines
988 B
Nix
46 lines
988 B
Nix
{ config, inputs, tf, meta, kw, pkgs, lib, ... }: with lib; {
|
|
imports = with meta; [
|
|
profiles.hardware.aarch64-linux
|
|
profiles.hardware.oracle.ubuntu
|
|
profiles.network
|
|
users.kat.services.weechat
|
|
services.nginx
|
|
services.murmur
|
|
services.murmur-ldap
|
|
services.prosody
|
|
services.synapse
|
|
services.syncplay
|
|
services.filehost
|
|
services.keycloak
|
|
services.openldap
|
|
services.mail
|
|
services.hedgedoc
|
|
services.website
|
|
services.dnscrypt-proxy
|
|
services.vaultwarden
|
|
services.weechat
|
|
services.znc
|
|
];
|
|
|
|
kw.oci = {
|
|
specs = {
|
|
shape = "VM.Standard.A1.Flex";
|
|
cores = 4;
|
|
ram = 24;
|
|
space = 100;
|
|
};
|
|
ad = 1;
|
|
network = {
|
|
publicV6 = 6;
|
|
privateV4 = 5;
|
|
};
|
|
};
|
|
|
|
network.yggdrasil = {
|
|
enable = true;
|
|
pubkey = "edb7de263e6924b8c9446123979782420e5196317bffc75e9a6ca546551252da";
|
|
address = "206:d807:a98:309f:3bc0:de7a:411d:9d95";
|
|
};
|
|
|
|
system.stateVersion = "21.11";
|
|
}
|