move storage to nixos 🎉

This commit is contained in:
Vivian 2023-12-28 18:45:12 +01:00
parent 42d258e73b
commit 75af9679d2
11 changed files with 323 additions and 74 deletions

View file

@ -51,10 +51,7 @@
ip = "10.42.42.10";
mac = "6E:A5:25:99:FE:68";
exposes = {
www.domain = "0x76.dev";
flux.domain = "flux.0x76.dev";
internal.domain = "internal.xirion.net";
blog.domain = "blog.xirion.net";
};
};
"dex" = {

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
let
clientConfig = {
"m.homeserver" = {
@ -61,6 +61,26 @@ in
};
};
"0x76.dev" = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
add_header Content-Type 'text/html; charset=UTF-8';
return 200 '<h1>Under Construction</h1>';
'';
};
"blog.xirion.net" = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
add_header Content-Type 'text/html; charset=UTF-8';
return 200 '<h1>Under Construction</h1>';
'';
};
# Meow
"meowy.tech" = {
enableACME = true;
@ -113,6 +133,11 @@ in
};
};
};
"es.0x76.dev" = {
enableACME = true;
forceSSL = true;
root = inputs.essentials.packages.${pkgs.system}.default;
};
"cinny.chat.meowy.tech" = {
enableACME = true;
forceSSL = true;