diff --git a/features/server/containers/pihole-exporter.nix b/features/server/containers/pihole-exporter.nix deleted file mode 100644 index 5dcfde6..0000000 --- a/features/server/containers/pihole-exporter.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, ... }: - -{ - - sops.secrets.piholeHostname = {}; - sops.secrets.piholePassword = {}; - - virtualisation.oci-containers = { - backend = "docker"; - containers = { - pihole-exporter = { - image = "ekofr/pihole-exporter:latest"; - ports = [ "9617:9617" ]; - environment = { - "PIHOLE_HOSTNAME" = config.sops.secrets.piholeHostname; - "PIHOLE_PASSWORD" = config.sops.secrets.piholePassword; - }; - }; - }; - }; -} diff --git a/features/server/services/akkoma.nix b/features/server/services/akkoma.nix new file mode 100644 index 0000000..be07131 --- /dev/null +++ b/features/server/services/akkoma.nix @@ -0,0 +1,17 @@ +{ + services.akkoma.enable = true; + services.akkoma.config = { + ":pleroma" = { + ":instance" = { + name = "e^akkoma + 1 = 0"; + description = "the cuntiest french akkoma instance<3. centres d'intérêts : la mode, les sciences, la musique. mais ça ne vous empêche pas de parler de n'importe quoi! join us !"; + email = "admin@babychou.me"; + registration_open = false; + }; + + "Pleroma.Web.Endpoint" = { + url.host = "fish.hypervirtual.word"; + }; + }; + }; +} \ No newline at end of file