nixbld: nixos 21.05
This commit is contained in:
parent
7621f7d8b7
commit
b7cef86473
@ -17,8 +17,8 @@ in
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./backup-module.nix
|
./backup-module.nix
|
||||||
(builtins.fetchTarball {
|
(builtins.fetchTarball {
|
||||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/fb1cc04c0a517d4200237b02c3472bcaf9104afb/nixos-mailserver-nixos.tar.gz";
|
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/90e8c150a02d4a5108f1f1e5cb7bab2cb1eb4baf/nixos-mailserver-nixos.tar.gz";
|
||||||
sha256 = "0vsvgxxg5cgmzwj98171j7h5l028f1yq784alb3lxgbk8znfk51y";
|
sha256 = "0xywkr125m9n0iax62bcn7x754clcs1jrl0f9l767yjy6g3qws92";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -116,11 +116,11 @@ in
|
|||||||
|
|
||||||
services.unbound = {
|
services.unbound = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig =
|
settings = {
|
||||||
''
|
server = {
|
||||||
server:
|
port = 5353;
|
||||||
port: 5353
|
};
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hostapd = {
|
services.hostapd = {
|
||||||
@ -265,7 +265,6 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
security.hideProcessInformation = true;
|
|
||||||
boot.kernel.sysctl."kernel.dmesg_restrict" = true;
|
boot.kernel.sysctl."kernel.dmesg_restrict" = true;
|
||||||
services.udev.packages = [ pkgs.sane-backends ];
|
services.udev.packages = [ pkgs.sane-backends ];
|
||||||
|
|
||||||
@ -429,7 +428,7 @@ in
|
|||||||
siteUrl = "https://chat.m-labs.hk/";
|
siteUrl = "https://chat.m-labs.hk/";
|
||||||
mutableConfig = true;
|
mutableConfig = true;
|
||||||
};
|
};
|
||||||
|
services.postgresql.package = pkgs.postgresql_11;
|
||||||
services.matterbridge = {
|
services.matterbridge = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPath = "/etc/nixos/secret/matterbridge.toml";
|
configPath = "/etc/nixos/secret/matterbridge.toml";
|
||||||
|
Loading…
Reference in New Issue
Block a user