Compare commits

...

4 commits

Author SHA1 Message Date
68513075f7
skipper: try geoclue 2024-11-21 11:24:34 +05:30
a9241bdd28
wynne: cleanup forgejo logs 2024-11-21 11:24:18 +05:30
6076f3214f
rico2: cleanup homepage 2024-11-21 11:24:09 +05:30
e9aab1b3bd
bifrost: allow QUIC 2024-11-21 10:50:31 +05:30
6 changed files with 33 additions and 15 deletions

View file

@ -1,6 +1,5 @@
_: { _: {
networking = { networking = {
firewall.allowedTCPPorts = [ 42069 ];
nftables = { nftables = {
enable = true; enable = true;
ruleset = '' ruleset = ''

View file

@ -53,14 +53,14 @@ in
cache = "1m"; cache = "1m";
title = "Services"; title = "Services";
sites = [ sites = [
{ title = "Jellyfin"; url = "https://jellyfin.labs.adtya.xyz/"; icon = "si:jellyfin"; } { title = "Jellyfin"; url = "https://jellyfin.labs.adtya.xyz/"; icon = "si:jellyfin"; same-tab = true; }
{ title = "Forgejo"; url = "https://forge.acomputer.lol/"; icon = "si:forgejo"; } { title = "Forgejo"; url = "https://git.ironyofprivacy.org/"; icon = "si:forgejo"; same-tab = true; }
{ title = "Transmission"; url = "https://transmission.labs.adtya.xyz/"; icon = "si:transmission"; } { title = "Transmission"; url = "https://transmission.labs.adtya.xyz/"; icon = "si:transmission"; }
{ title = "Prowlarr"; url = "https://prowlarr.labs.adtya.xyz/"; icon = "si:prowlarr"; } { title = "Prowlarr"; url = "https://prowlarr.labs.adtya.xyz/"; icon = "si:prowlarr"; }
{ title = "Bazarr"; url = "https://bazarr.labs.adtya.xyz/"; icon = "si:bazarr"; } { title = "Bazarr"; url = "https://bazarr.labs.adtya.xyz/"; icon = "si:bazarr"; same-tab = true; }
{ title = "Radarr"; url = "https://radarr.labs.adtya.xyz/"; icon = "si:radarr"; } { title = "Radarr"; url = "https://radarr.labs.adtya.xyz/"; icon = "si:radarr"; same-tab = true; }
{ title = "Sonarr"; url = "https://sonarr.labs.adtya.xyz/"; icon = "si:sonarr"; } { title = "Sonarr"; url = "https://sonarr.labs.adtya.xyz/"; icon = "si:sonarr"; same-tab = true; }
{ title = "Lidarr"; url = "https://lidarr.labs.adtya.xyz/"; icon = "si:lidarr"; } { title = "Lidarr"; url = "https://lidarr.labs.adtya.xyz/"; icon = "si:lidarr"; same-tab = true; }
]; ];
} }
@ -70,19 +70,19 @@ in
{ {
title = "Homelab"; title = "Homelab";
links = [ links = [
{ title = "Grafana"; url = "https://grafana.labs.adtya.xyz/"; } { title = "Grafana"; url = "https://grafana.labs.adtya.xyz/"; icon = "si:grafana"; same-tab = true; }
{ title = "Prometheus"; url = "https://prometheus.labs.adtya.xyz/"; } { title = "Prometheus"; url = "https://prometheus.labs.adtya.xyz/"; icon = "si:prometheus"; same-tab = true; }
{ title = "Alert Manager"; url = "https://alertmanager.labs.adtya.xyz/"; } { title = "Alert Manager"; url = "https://alertmanager.labs.adtya.xyz/"; icon = "si:prometheus"; same-tab = true; }
]; ];
} }
{ {
title = "General"; title = "General";
links = [ links = [
{ title = "Email"; url = "https://app.fastmail.com/mail/Inbox/"; } { title = "Email"; url = "https://app.fastmail.com/mail/Inbox/"; icon = "si:fastmail"; same-tab = true; }
{ title = "GitHub Notifications"; url = "https://github.com/notifications"; } { title = "GitHub Notifications"; url = "https://github.com/notifications"; icon = "si:github"; same-tab = true; }
{ title = "Nixpkgs PR Tracker"; url = "https://nixpk.gs/pr-tracker.html"; } { title = "Nixpkgs PR Tracker"; url = "https://nixpk.gs/pr-tracker.html"; icon = "si:nixos"; same-tab = true; }
{ title = "DigitalOcean"; url = "https://cloud.digitalocean.com"; } { title = "DigitalOcean"; url = "https://cloud.digitalocean.com"; icon = "si:digitalocean"; same-tab = true; }
{ title = "Hetzner DNS Console"; url = "https://www.hetzner.com/dns-console/"; } { title = "Hetzner DNS Console"; url = "https://www.hetzner.com/dns-console/"; icon = "si:hetzner"; same-tab = true; }
]; ];
} }
]; ];

View file

@ -22,5 +22,6 @@
}; };
systemd.services.caddy.serviceConfig.EnvironmentFile = config.sops.secrets."caddy/env_file".path; systemd.services.caddy.serviceConfig.EnvironmentFile = config.sops.secrets."caddy/env_file".path;
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
} }

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./btrfs.nix ./btrfs.nix
./dbus.nix ./dbus.nix
./geoclue.nix
./keyd.nix ./keyd.nix
./pipewire.nix ./pipewire.nix
./udev.nix ./udev.nix

View file

@ -0,0 +1,13 @@
_: {
location.provider = "geoclue2";
services.geoclue2 = {
enable = true;
enable3G = false;
enableCDMA = false;
enableNmea = false;
enableWifi = true;
enableModemGPS = false;
enableDemoAgent = false;
geoProviderUrl = "https://beacondb.net/v1/geolocate";
};
}

View file

@ -59,6 +59,10 @@ in
HTTP_PORT = 3000; HTTP_PORT = 3000;
DOMAIN = domainName; DOMAIN = domainName;
}; };
log = {
LEVEL = "Warn";
"logger.router.MODE" = "";
};
session = { session = {
COOKIE_SECURE = true; COOKIE_SECURE = true;
}; };