poseidon: remove nuage service

Didn't renew the domain name
This commit is contained in:
Antoine Martin 2022-08-29 13:23:25 +02:00
parent f8f4f3cc81
commit 77b5936a0b
3 changed files with 0 additions and 46 deletions

View file

@ -106,10 +106,6 @@ in {
adminpassFile = config.age.secrets."nextcloud/admin-pass".path; adminpassFile = config.age.secrets."nextcloud/admin-pass".path;
}; };
nuage = {
enable = true;
};
paperless = { paperless = {
enable = true; enable = true;
port = 8085; port = 8085;

View file

@ -13,7 +13,6 @@
./navidrome.nix ./navidrome.nix
./nextcloud.nix ./nextcloud.nix
./nginx.nix ./nginx.nix
./nuage.nix
./paperless.nix ./paperless.nix
./pipewire.nix ./pipewire.nix
./postgresql-backup.nix ./postgresql-backup.nix

View file

@ -1,41 +0,0 @@
{
config,
lib,
...
}: let
inherit
(lib)
mkEnableOption
mkIf
;
cfg = config.my.services.nuage;
my = config.my;
in {
options.my.services.nuage = {
enable = mkEnableOption "Nuage redirect";
};
config = mkIf cfg.enable {
services.nginx.virtualHosts = {
"stratocumulus.org" = {
forceSSL = true;
enableACME = true;
locations."/".return = "301 https://petit-nuage.org";
};
"petit.stratocumulus.org" = {
forceSSL = true;
enableACME = true;
locations."/".return = "301 https://petit-nuage.org";
};
"gros.stratocumulus.org" = {
forceSSL = true;
enableACME = true;
locations."/".return = "301 https://gros-nuage.org";
};
};
};
}