fix issues
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
IPv6AcceptRA = true;
|
||||
};
|
||||
dhcpV4Config.RouteMetric = 100;
|
||||
dhcpV6Config.RouteMetric = 100;
|
||||
ipv6AcceptRAConfig.RouteMetric = 100;
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
@@ -40,10 +40,6 @@ in
|
||||
authorizedKeys = cfg.authorizedKeys;
|
||||
};
|
||||
};
|
||||
boot.initrd.secrets = {
|
||||
"${toString cfg.hostKeyPath}" = cfg.hostKeyPath;
|
||||
};
|
||||
|
||||
system.activationScripts.initrdSshHostKey = {
|
||||
deps = [ "users" "groups" ];
|
||||
text = ''
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "love@billenius.com";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
services.nginx.virtualHosts.${config.mailserver.fqdn}.enableACME = true;
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
stateVersion = 4;
|
||||
fqdn = "mail.billenius.com";
|
||||
domains = [ "billenius.com" ];
|
||||
|
||||
x509.useACMEHost = config.mailserver.fqdn;
|
||||
certificateScheme = "acme";
|
||||
|
||||
# A list of all login accounts. To create the password hashes, use
|
||||
# nix-shell -p mkpasswd --run 'mkpasswd -s'
|
||||
accounts = {
|
||||
loginAccounts = {
|
||||
"love@billenius.com" = {
|
||||
hashedPasswordFile = ../../../resources/mail-server/love@billenius.com;
|
||||
hashedPasswordFile = "${../../../resources/mail-server}/love@billenius.com";
|
||||
aliases = [ "postmaster@billenius.com" ];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user