Compare commits

..

2 commits

Author SHA1 Message Date
Chris Kruining
9ed5cbded0
update homer
Some checks failed
Test action / Print hello world (push) Failing after 0s
2025-09-04 10:09:08 +02:00
Chris Kruining
41a4fde9f2
first attempt to push an image 2025-09-04 10:08:59 +02:00
4 changed files with 95 additions and 13 deletions

View file

@ -0,0 +1,34 @@
name: Test action
on:
workflow_dispatch:
push:
branches:
- main
env:
registry: git.amarth.cloud
owner: chris
image: default
tag: latest
jobs:
hello:
name: Print hello world
runs-on: default
steps:
- name: Pull dependencies
run: >-
git clone https://${{ registry }}/${{ owner }}/sneeuwvlok.git
&& cd sneeuwvlok
- name: Log into registry
run: docker login ${{ registry }}
- name: Build image
run: >-
docker build
-t ${{registry}}/${{ owner }}/${{ image }}:${{ tag }} ./modules/nixos/services/development/forgejo/Dockerfile.default
- name: Push image
run: docker push ${{registry}}/${{ owner }}/${{ image }}:${{ tag }}

View file

@ -0,0 +1,5 @@
FROM nixos/nix:latest
RUN nix-env -iA nixpkgs.nodejs_24
CMD ["/bin/bash"]

View file

@ -91,6 +91,7 @@ in
actions = { actions = {
ENABLED = true; ENABLED = true;
# DEFAULT_ACTIONS_URL = "https://data.forgejo.org";
}; };
other = { other = {
@ -136,7 +137,8 @@ in
# tokenFile = config.age.secrets.forgejo-runner-token.path; # tokenFile = config.age.secrets.forgejo-runner-token.path;
token = "ZBetud1F0IQ9VjVFpZ9bu0FXgx9zcsy1x25yvjhw"; token = "ZBetud1F0IQ9VjVFpZ9bu0FXgx9zcsy1x25yvjhw";
labels = [ labels = [
"default:docker://node:24-bookworm" "default:docker://nixos/nix:latest"
"ubuntu:docker://ubuntu:24-bookworm"
]; ];
settings = { settings = {
log.level = "info"; log.level = "info";

View file

@ -27,14 +27,7 @@ in
columns = 4; columns = 4;
connectivityCheck = true; connectivityCheck = true;
links = [ links = [];
{
name = "Git";
icon = "fab fa-forgejo";
url = "https://git.amarth.cloud";
}
];
services = [ services = [
{ {
@ -42,20 +35,28 @@ in
items = [ items = [
{ {
name = "Zitadel"; name = "Zitadel";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/zitadel.svg";
tag = "app"; tag = "app";
url = "https://auth.amarth.cloud"; url = "https://auth.amarth.cloud";
target = "_blank";
} }
{ {
name = "Forgejo"; name = "Forgejo";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/forgejo.svg";
tag = "app"; tag = "app";
type = "Gitea";
url = "https://git.amarth.cloud"; url = "https://git.amarth.cloud";
target = "_blank";
} }
{ {
name = "Vaultwarden"; name = "Vaultwarden";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/vaultwarden.svg";
type = "Vaultwarden";
tag = "app"; tag = "app";
url = "https://vault.kruining.eu"; url = "https://vault.kruining.eu";
target = "_blank";
} }
]; ];
} }
@ -65,8 +66,20 @@ in
items = [ items = [
{ {
name = "Grafana"; name = "Grafana";
type = "Grafana";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/grafana.svg";
tag = "app"; tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.grafana.settings.server.http_port}"; url = "http://${config.networking.hostName}:${builtins.toString config.services.grafana.settings.server.http_port}";
target = "_blank";
}
{
name = "Prometheus";
type = "Prometheus";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/prometheus.svg";
tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.prometheus.port}";
target = "_blank";
} }
]; ];
} }
@ -75,41 +88,69 @@ in
name = "Media"; name = "Media";
items = [ items = [
{ {
name = "Jellyfin"; name = "Jellyfin (Movies)";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/jellyfin.svg";
tag = "app"; tag = "app";
type = "Emby";
url = "http://${config.networking.hostName}:8096"; url = "http://${config.networking.hostName}:8096";
apikey = "e3ceed943eeb409ba8342738db7cc1f5";
libraryType = "movies";
target = "_blank";
} }
{ {
name = "Radarr"; name = "Radarr";
type = "Radarr";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/radarr.svg";
tag = "app"; tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.radarr.settings.server.port}"; url = "http://${config.networking.hostName}:${builtins.toString config.services.radarr.settings.server.port}";
target = "_blank";
} }
{ {
name = "Sonarr"; name = "Sonarr";
type = "Sonarr";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/sonarr.svg";
tag = "app"; tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.sonarr.settings.server.port}"; url = "http://${config.networking.hostName}:${builtins.toString config.services.sonarr.settings.server.port}";
target = "_blank";
} }
{ {
name = "Lidarr"; name = "Lidarr";
type = "Lidarr";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/lidarr.svg";
tag = "app"; tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.lidarr.settings.server.port}"; url = "http://${config.networking.hostName}:${builtins.toString config.services.lidarr.settings.server.port}";
target = "_blank";
} }
{ {
name = "qBitTorrent"; name = "Prowlarr";
type = "Prowlarr";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/prowlarr.svg";
tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.prowlarr.settings.server.port}";
target = "_blank";
}
{
name = "qBittorrent";
type = "qBittorrent";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/qbittorrent.svg";
tag = "app"; tag = "app";
url = "http://${config.networking.hostName}:${builtins.toString config.services.qbittorrent.webuiPort}"; url = "http://${config.networking.hostName}:${builtins.toString config.services.qbittorrent.webuiPort}";
target = "_blank";
} }
{ {
name = "SabNZB"; name = "SABnzbd";
type = "SABnzbd";
logo = "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/sabnzdb-light.svg";
tag = "app"; tag = "app";
url = "http://${config.networking.hostName}:8080"; url = "http://${config.networking.hostName}:8080";
target = "_blank";
} }
]; ];
} }
]; ];