From b7cef864732abc57952f9fdaafbed52b95deffcd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 7 Jun 2021 09:56:05 +0800 Subject: [PATCH] nixbld: nixos 21.05 --- nixbld-etc-nixos/configuration.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 30abe1ca..6a12e5b9 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -17,8 +17,8 @@ in ./hardware-configuration.nix ./backup-module.nix (builtins.fetchTarball { - url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/fb1cc04c0a517d4200237b02c3472bcaf9104afb/nixos-mailserver-nixos.tar.gz"; - sha256 = "0vsvgxxg5cgmzwj98171j7h5l028f1yq784alb3lxgbk8znfk51y"; + url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/90e8c150a02d4a5108f1f1e5cb7bab2cb1eb4baf/nixos-mailserver-nixos.tar.gz"; + sha256 = "0xywkr125m9n0iax62bcn7x754clcs1jrl0f9l767yjy6g3qws92"; }) ]; @@ -116,11 +116,11 @@ in services.unbound = { enable = true; - extraConfig = - '' - server: - port: 5353 - ''; + settings = { + server = { + port = 5353; + }; + }; }; services.hostapd = { @@ -265,7 +265,6 @@ in isNormalUser = true; }; security.sudo.wheelNeedsPassword = false; - security.hideProcessInformation = true; boot.kernel.sysctl."kernel.dmesg_restrict" = true; services.udev.packages = [ pkgs.sane-backends ]; @@ -429,7 +428,7 @@ in siteUrl = "https://chat.m-labs.hk/"; mutableConfig = true; }; - + services.postgresql.package = pkgs.postgresql_11; services.matterbridge = { enable = true; configPath = "/etc/nixos/secret/matterbridge.toml";