Compare commits

..

No commits in common. "4658d31f53be49254a8c15e74c7e47a0d19fd56c" and "9b7a3d6ffe36180082c3e96abb45bac585273fc7" have entirely different histories.

2 changed files with 17 additions and 13 deletions

View file

@ -3,11 +3,15 @@
services.caddy = { services.caddy = {
enable = true; enable = true;
email = "evie@xenia.me.uk"; email = "evie@xenia.me.uk";
virtualHosts."xenia.me.uk" = { virtualHosts = {
serverAliases = ["www.xenia.me.uk"]; "xenia.me.uk".extraConfig = ''
extraConfig = ''
redir https://www.xenia.me.uk redir https://www.xenia.me.uk
''; '';
"www.xenia.me.uk".extraConfig = ''
file_server * {
root /var/www/xenia.me.uk/
}
'';
}; };
}; };
services.fail2ban = { services.fail2ban = {

View file

@ -1,5 +1,5 @@
{config, ...}: { {config, ...}: {
# imports = [./caddy.nix]; imports = [./caddy.nix];
services.znc = { services.znc = {
enable = true; enable = true;
mutable = false; mutable = false;
@ -16,17 +16,17 @@
Salt = "0vgs)x4KcEmGMK;56QVm"; Salt = "0vgs)x4KcEmGMK;56QVm";
}; };
Network = { Network = {
# liberachat = { liberachat = {
# Server = "irc.libera.chat +6697"; Server = "irc.libera.chat +6697";
# Chan = { Chan = {
# "#nixos" = {}; "#nixos" = {};
# "#nixos-wiki" = {}; "#nixos-wiki" = {};
# }; };
# JoinDelay = 2; JoinDelay = 2;
# }; };
}; };
}; };
}; };
}; };
# services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}"; services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
} }