diff options
Diffstat (limited to 'hosts/cloud')
-rw-r--r-- | hosts/cloud/packages.nix | 21 | ||||
-rw-r--r-- | hosts/cloud/sing/mail.nix | 13 | ||||
-rw-r--r-- | hosts/cloud/sortug/configuration.nix | 1 | ||||
-rw-r--r-- | hosts/cloud/sortug/default.nix | 1 |
4 files changed, 22 insertions, 14 deletions
diff --git a/hosts/cloud/packages.nix b/hosts/cloud/packages.nix index fe7065b..07ce147 100644 --- a/hosts/cloud/packages.nix +++ b/hosts/cloud/packages.nix @@ -1,9 +1,11 @@ -{ config, pkgs, ... }: - { - nixpkgs.config = { - allowUnfree = true; - }; + config, + pkgs, + ... +}: { + nixpkgs.config = { + allowUnfree = true; + }; environment.systemPackages = with pkgs; [ helix @@ -42,14 +44,13 @@ curl caddy # simple web server made with go innernet - + # s3 minio # streaming - ffmpeg_5 + ffmpeg # databases - # postgresql - # sqlite + # postgresql + # sqlite ]; } - diff --git a/hosts/cloud/sing/mail.nix b/hosts/cloud/sing/mail.nix index 09a070d..1b88877 100644 --- a/hosts/cloud/sing/mail.nix +++ b/hosts/cloud/sing/mail.nix @@ -1,8 +1,12 @@ -{ - mailserver = { +{ + config, + pkgs, + ... +}: { + mailserver = { enable = true; fqdn = "mail.sortug.com"; - domains = [ "sortug.com" ]; + domains = ["sortug.com"]; # A list of all login accounts. To create the password hashes, use # nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' @@ -22,7 +26,8 @@ "info@sortug.com" = { hashedPasswordFile = "/home/y/mail.key"; }; - "admin@sortug.com" = { # legal and banking + "admin@sortug.com" = { + # legal and banking hashedPasswordFile = "/home/y/mail.key"; }; "internal@sortug.com" = { diff --git a/hosts/cloud/sortug/configuration.nix b/hosts/cloud/sortug/configuration.nix index 9f75d14..d409f83 100644 --- a/hosts/cloud/sortug/configuration.nix +++ b/hosts/cloud/sortug/configuration.nix @@ -17,6 +17,7 @@ ./minio.nix # ./coturn.nix ./disk-config.nix + ../sing/mail.nix # ./mail.nix ]; diff --git a/hosts/cloud/sortug/default.nix b/hosts/cloud/sortug/default.nix index 3669483..0666c18 100644 --- a/hosts/cloud/sortug/default.nix +++ b/hosts/cloud/sortug/default.nix @@ -1,4 +1,5 @@ inputs: [ + inputs.nixos-mailserver.nixosModule inputs.disko.nixosModules.disko ./configuration.nix ] |