blob: 4730f1f720f17468edca9bd746937b237360b6c0 (
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
28
29
|
{ bild ? import ./Bild.nix {} }:
# 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";
# the datacenter for this VM is in SF
time.timeZone = "America/Los_Angeles";
}
|