diff --git a/homelab/forgejo/forgejo-runner.nix b/homelab/forgejo/forgejo-runner.nix index d575776..6a56563 100644 --- a/homelab/forgejo/forgejo-runner.nix +++ b/homelab/forgejo/forgejo-runner.nix @@ -1,4 +1,9 @@ -{ lib, pkgs, config, ... }: { +{ + lib, + pkgs, + config, + ... +}: { services.gitea-actions-runner = { package = pkgs.forgejo-runner; instances.default = { @@ -7,7 +12,7 @@ url = "https://git.ahoneybun.net"; # Obtaining the path to the runner token file may differ # tokenFile should be in format TOKEN=, since it's EnvironmentFile for systemd - tokenFile = "/etc/nixos/secrets/forgejo-runner-mono.age"; + tokenFile = "/etc/nixos/services/forgejo-runner-mono.txt"; labels = [ "ubuntu-24.04:docker://ubuntu:24.04" "ubuntu-22.04:docker://ubuntu:22.04" diff --git a/homelab/glance/default.nix b/homelab/glance/default.nix index 5b13a3c..69cd779 100644 --- a/homelab/glance/default.nix +++ b/homelab/glance/default.nix @@ -1,11 +1,14 @@ -{ config, pkgs, lib, ... }: - +{ + config, + pkgs, + lib, + ... +}: # Widgets not supported in version 0.6.2 in nixpkgs#24.11: # split-column # server-stats # custom-api - -{ +{ services.glance = { enable = true; openFirewall = true; @@ -14,67 +17,69 @@ host = "0.0.0.0"; port = 5678; }; - theme = { - background-color = "270 5 17"; - primary-color = "21 97 85"; - negative-color = "358 100 68"; - contrast-multiplier = 1.2; + theme = { + background-color = "270 5 17"; + primary-color = "21 97 85"; + negative-color = "358 100 68"; + contrast-multiplier = 1.2; }; - pages = [{ - name = "Startpage"; - width = "slim"; - hide-desktop-navigation = true; - center-vertically = true; - columns = [ - { - size = "full"; - widgets = [ - { - type = "search"; - search-engine = "duckduckgo"; - } - { - type = "monitor"; - title = "Services"; - sites = [ - { - title = "Home Assistant"; - url = "https://home.honeycutt.family/"; - } - { - title = "Navidrome (Music)"; - url = "https://music.honeycutt.family/"; - } - { - title = "Jellyfin (Videos)"; - url = "https://videos.honeycutt.family/"; - } - { - title = "Immich (Photos)"; - url = "https://photos.honeycutt.family/"; - } - { - title = "Kavita (Books)"; - url = "https://books.honeycutt.family/"; - } - { - title = "Audiobookshelf (Audiobooks)"; - url = "https://audiobookshelf.honeycutt.family/"; - } - { - title = "Mealie (Meals)"; - url = "https://meals.honeycutt.family/"; - } - { - title = "Linkwarden (Links)"; - url = "https://links.honeycutt.family/"; - } - ]; - } - ]; - } - ]; - }]; + pages = [ + { + name = "Startpage"; + width = "slim"; + hide-desktop-navigation = true; + center-vertically = true; + columns = [ + { + size = "full"; + widgets = [ + { + type = "search"; + search-engine = "duckduckgo"; + } + { + type = "monitor"; + title = "Services"; + sites = [ + { + title = "Home Assistant"; + url = "https://home.honeycutt.family/"; + } + { + title = "Navidrome (Music)"; + url = "https://music.honeycutt.family/"; + } + { + title = "Jellyfin (Videos)"; + url = "https://videos.honeycutt.family/"; + } + { + title = "Immich (Photos)"; + url = "https://photos.honeycutt.family/"; + } + { + title = "Kavita (Books)"; + url = "https://books.honeycutt.family/"; + } + { + title = "Audiobookshelf (Audiobooks)"; + url = "https://audiobookshelf.honeycutt.family/"; + } + { + title = "Mealie (Meals)"; + url = "https://meals.honeycutt.family/"; + } + { + title = "Linkwarden (Links)"; + url = "https://links.honeycutt.family/"; + } + ]; + } + ]; + } + ]; + } + ]; }; }; } diff --git a/homelab/linkwarden/default.nix b/homelab/linkwarden/default.nix index 82d4c3b..e81da11 100644 --- a/homelab/linkwarden/default.nix +++ b/homelab/linkwarden/default.nix @@ -1,16 +1,19 @@ -{ config, pkgs, lib, ... }: - { + config, + pkgs, + lib, + ... +}: { services.linkwarden = { enable = true; host = "0.0.0.0"; port = 3005; openFirewall = true; enableRegistration = true; - + secretFiles = { - NEXTAUTH_SECRET= "/etc/nixos/secrets/linkwarden_secret.age"; - POSTGRES_PASSWORD= "/etc/nixos/secrets/linkwarden_postgres_passwd.age"; + NEXTAUTH_SECRET = "/etc/nixos/secrets/linkwarden_secret.age"; + POSTGRES_PASSWORD = "/etc/nixos/secrets/linkwarden_postgres_passwd.age"; }; }; }