summaryrefslogtreecommitdiff
path: root/Biz/Cloud.nix
blob: edf8a85aaf0f4cabcf4623122319b8149bb36e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ bild }:

# Cloud infrastructure, always online. Mostly for messaging-related stuff.

let
  nixos-mailserver = let ver = "v2.3.0"; in builtins.fetchTarball {
    url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/${ver}/nixos-mailserver-${ver}.tar.gz";
    sha256 = "0lpz08qviccvpfws2nm83n7m2r8add2wvfg9bljx9yxx8107r919";
  };
in
bild.os {
  imports = [
    ./OsBase.nix
    ./Packages.nix
    ./Users.nix
    ./Cloud/Chat.nix
    ./Cloud/Git.nix
    ./Cloud/Hardware.nix
    ./Cloud/Mail.nix
    ./Cloud/Networking.nix
    ./Cloud/Web.nix
    ./Cloud/Znc.nix
    nixos-mailserver
  ];
  networking.hostName = "simatime";
  networking.domain = "simatime.com";
}