diff options
-rw-r--r-- | .build.yml | 9 | ||||
-rw-r--r-- | Biz/Cloud/Chat.nix (renamed from Biz/Cloud/chat.nix) | 12 | ||||
-rw-r--r-- | Biz/Cloud/Git.nix (renamed from Biz/Cloud/git.nix) | 0 | ||||
-rw-r--r-- | Biz/Cloud/Hardware.nix (renamed from Biz/Cloud/hardware.nix) | 0 | ||||
-rw-r--r-- | Biz/Cloud/Mail.nix (renamed from Biz/Cloud/mail.nix) | 0 | ||||
-rw-r--r-- | Biz/Cloud/Networking.nix (renamed from Biz/Cloud/networking.nix) | 0 | ||||
-rw-r--r-- | Biz/Cloud/Web.nix (renamed from Biz/Cloud/web.nix) | 0 | ||||
-rw-r--r-- | Biz/Cloud/Znc.nix (renamed from Biz/Cloud/znc.nix) | 0 |
8 files changed, 15 insertions, 6 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..c9c281e --- /dev/null +++ b/.build.yml @@ -0,0 +1,9 @@ +image; nixos/unstable +sources: +- git@git.sr.ht:~ben/biz +secrets: +- 6a44134f-d160-4702-825f-26e49398f8e9 +tasks: +- build: | + cd biz + nix-build ./default.nix -A Biz.Cloud -A Biz.Dev diff --git a/Biz/Cloud/chat.nix b/Biz/Cloud/Chat.nix index e23b73e..bc97973 100644 --- a/Biz/Cloud/chat.nix +++ b/Biz/Cloud/Chat.nix @@ -11,7 +11,7 @@ # let fqdn = "matrix.${config.networking.domain}"; - riot = "chat.${config.networking.domain}"; + element = "chat.${config.networking.domain}"; matrix_port = 8448; in { # matrix-synapse server. for what the settings mean, see: @@ -83,18 +83,18 @@ in { }; }; }; - # riot client, available at chat.simatime.com + # matrix client, available at chat.simatime.com # - # note that riot and matrix-synapse must be on separate fqdn's to + # note that element and matrix-synapse must be on separate fqdn's to # protect from XSS attacks: - # https://github.com/vector-im/riot-web#important-security-note + # https://github.com/vector-im/element-web#important-security-note # - services.nginx.virtualHosts."${riot}" = { + services.nginx.virtualHosts."${element}" = { enableACME = true; forceSSL = true; serverAliases = [ "chat.${config.networking.domain}" ]; - root = pkgs.riot-web; + root = pkgs.element-web; }; } diff --git a/Biz/Cloud/git.nix b/Biz/Cloud/Git.nix index 6104ced..6104ced 100644 --- a/Biz/Cloud/git.nix +++ b/Biz/Cloud/Git.nix diff --git a/Biz/Cloud/hardware.nix b/Biz/Cloud/Hardware.nix index 20eab30..20eab30 100644 --- a/Biz/Cloud/hardware.nix +++ b/Biz/Cloud/Hardware.nix diff --git a/Biz/Cloud/mail.nix b/Biz/Cloud/Mail.nix index 81bddc2..81bddc2 100644 --- a/Biz/Cloud/mail.nix +++ b/Biz/Cloud/Mail.nix diff --git a/Biz/Cloud/networking.nix b/Biz/Cloud/Networking.nix index b259d86..b259d86 100644 --- a/Biz/Cloud/networking.nix +++ b/Biz/Cloud/Networking.nix diff --git a/Biz/Cloud/web.nix b/Biz/Cloud/Web.nix index acd5c2f..acd5c2f 100644 --- a/Biz/Cloud/web.nix +++ b/Biz/Cloud/Web.nix diff --git a/Biz/Cloud/znc.nix b/Biz/Cloud/Znc.nix index 9b1a28d..9b1a28d 100644 --- a/Biz/Cloud/znc.nix +++ b/Biz/Cloud/Znc.nix |