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 = {
firewall.allowedTCPPorts = [ 42069 ];
nftables = {
enable = true;
ruleset = ''

View file

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

View file

@ -2,6 +2,7 @@
imports = [
./btrfs.nix
./dbus.nix
./geoclue.nix
./keyd.nix
./pipewire.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;
DOMAIN = domainName;
};
log = {
LEVEL = "Warn";
"logger.router.MODE" = "";
};
session = {
COOKIE_SECURE = true;
};