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

View file

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