mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 21:29:33 +01:00
Compare commits
No commits in common. "63011dfd29442bcab58fc8d49c55203f7deab455" and "a1a4943664eee94898bb8cd34fd00e097db3808b" have entirely different histories.
63011dfd29
...
a1a4943664
21
features/server/containers/pihole-exporter.nix
Normal file
21
features/server/containers/pihole-exporter.nix
Normal 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
18
features/server/searx.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./akkoma.nix
|
|
||||||
./homelab-dashboard.nix
|
./homelab-dashboard.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
# ./photoprism.nix
|
# ./photoprism.nix
|
||||||
|
|
Loading…
Reference in a new issue