Add of pangolin client, fix roundcube and vaultwarden, refractor some bit
This commit is contained in:
parent
d4d7073344
commit
271115fc3a
7 changed files with 93 additions and 53 deletions
|
|
@ -10,6 +10,8 @@
|
|||
./hardware-configuration.nix
|
||||
./package.nix
|
||||
./module/hostname.nix
|
||||
./module/nginx.nix
|
||||
./module/newt.nix
|
||||
|
||||
./module/searXNG.nix
|
||||
./module/roundcube.nix
|
||||
|
|
@ -33,14 +35,6 @@
|
|||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."${config.HostName}" = {
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
|
@ -120,18 +114,6 @@
|
|||
useRoutingFeatures = "server"; # or "client" / "both"
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "admin+contact@wateir.fr";
|
||||
|
||||
certs."wateir.fr" = {
|
||||
dnsProvider = "ovh";
|
||||
environmentFile = "/etc/acme.env";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 443 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue