forked from M-Labs/it-infra
nixbld: nixos 21.05
This commit is contained in:
parent
7621f7d8b7
commit
b7cef86473
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user