diff --git a/modules/me/default.nix b/modules/me/default.nix index 6f870bd..f34ea6e 100644 --- a/modules/me/default.nix +++ b/modules/me/default.nix @@ -5,30 +5,6 @@ }: let inherit (lib) mkIf; cfg = config.conf.website; - me = { - name = "mira"; - pronouns = ["she/her/hers" "it/its/its"]; - queer = ["trans" "lesbian"]; - languages = { - german = 1.0; - english = 0.9; - dutch = 0.4; - spanish = 0.1; - }; - i18n = { - timezone = "Europe/Amsterdam"; - currency = "EUR"; - location = "Netherlands"; - }; - contact = { - email = "hi@chpu.eu"; - fedi = "@mira@fedi.twoneis.site"; - }; - ssh = { - id_ed25519 = "https://${cfg.domain.me}/ssh/id_ed25519.pub"; - id_ed25519_sk = "https://${cfg.domain.me}/ssh/id_ed25519_sk.pub"; - }; - }; in mkIf cfg.enable { services.nginx.virtualHosts = { @@ -37,6 +13,9 @@ in useACMEHost = cfg.domain.base; forceSSL = true; locations = { + "/" = { + return = "301 'https://${cfg.domain.me}/about.json'"; + }; "/about.json" = { return = "200 '${builtins.readFile ./about.json}'"; };