Compare commits

..

No commits in common. "63011dfd29442bcab58fc8d49c55203f7deab455" and "a1a4943664eee94898bb8cd34fd00e097db3808b" have entirely different histories.

4 changed files with 39 additions and 18 deletions

View file

@ -0,0 +1,21 @@
{ 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;
};
};
};
};
}

18
features/server/searx.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, ... }:
{
sops.secrets."searx" = {
sopsFile = ../secrets/searx.env;
format = "dotenv";
};
services.searx = {
enable = true;
redisCreateLocally = true;
settings = {
server.port = 8080;
server.secret_key = builtins.toJSON config.sops.secrets."searx";
server.bind_address = "0.0.0.0";
};
};
}

View file

@ -1,17 +0,0 @@
{
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";
};
};
};
}

View file

@ -1,7 +1,6 @@
{ config, ... }:
{
imports = [
./akkoma.nix
./homelab-dashboard.nix
./nextcloud.nix
# ./photoprism.nix