changed formater

This commit is contained in:
k
2024-12-23 22:08:45 -05:00
parent 52fbee6322
commit 3995c29b03
18 changed files with 278 additions and 244 deletions

View File

@@ -1,9 +1,12 @@
{ pkgs, lib, ... }: {
{
pkgs,
lib,
...
}: {
networking.firewall = {
enable = true;
allowedTCPPorts = [ 80 443 22 26615 ];
allowedUDPPorts = [ 26615 ];
allowedTCPPorts = [80 443 22 26615];
allowedUDPPorts = [26615];
};
security.acme = {
@@ -11,18 +14,18 @@
defaults.email = "markers711@gmail.com";
};
virtualisation.docker = { enable = true; };
virtualisation.docker = {enable = true;};
services = {
openssh = { enable = true; };
openssh = {enable = true;};
jellyfin = { enable = true; };
jellyfin = {enable = true;};
fail2ban = { enable = true; };
fail2ban = {enable = true;};
postgresql = { enable = true; };
postgresql = {enable = true;};
i2p = { enable = true; };
i2p = {enable = true;};
nix-serve = {
enable = true;
@@ -32,7 +35,7 @@
ollama = {
enable = true;
package = pkgs.ollama-intel;
};
};
gitea = {
enable = true;
@@ -64,13 +67,13 @@
home-assistant = {
enable = true;
extraComponents = [ "wiz" "fail2ban" "ollama" "wyoming" ];
extraComponents = ["wiz" "fail2ban" "ollama" "wyoming"];
config = {
default_config = { };
default_config = {};
"automation ui" = "!include automations.yaml";
http = {
use_x_forwarded_for = "true";
trusted_proxies = [ "127.0.0.1" ];
trusted_proxies = ["127.0.0.1"];
server_port = 8003;
};
};
@@ -79,13 +82,13 @@
wyoming = {
piper.servers."piperNix" = {
enable = true;
uri = "tcp://0.0.0.0:10200";
voice = "en-us-ryan-low";
uri = "tcp://0.0.0.0:10200";
voice = "en-us-ryan-low";
};
faster-whisper.servers."whisperNix" = {
enable = true;
uri = "tcp://0.0.0.0:10300";
language = "en";
uri = "tcp://0.0.0.0:10300";
language = "en";
};
};
@@ -94,7 +97,7 @@
settings = {
server.port = 8005;
server.secret_key = "secretlol";
search.formats = ["html" "json"];
search.formats = ["html" "json"];
};
};
@@ -109,7 +112,7 @@
email = "markers711@gmail.com";
registration_open = false;
};
"Pleroma.Web.Endpoint" = { url.host = "fed.dhilton.xyz"; };
"Pleroma.Web.Endpoint" = {url.host = "fed.dhilton.xyz";};
};
};
nginx = {
@@ -124,7 +127,6 @@
recommendedTlsSettings = true;
virtualHosts = {
"dhilton.xyz" = {
enableACME = true;
forceSSL = true;
@@ -167,9 +169,9 @@
};
};
"nix.dhilton.xyz" = {
locations."/".proxyPass = "http://127.0.0.1:5000";
};
"nix.dhilton.xyz" = {
locations."/".proxyPass = "http://127.0.0.1:5000";
};
};
};
};