chore: migrate module path from git.t-juice.club to code.t-juice.club
Update Go module path and all references for Gitea to Forgejo host migration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ A Prometheus exporter for NixOS-specific metrics. Exposes system state informati
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.nixos-exporter.url = "git+https://git.t-juice.club/torjus/nixos-exporter";
|
||||
inputs.nixos-exporter.url = "git+https://code.t-juice.club/torjus/nixos-exporter";
|
||||
|
||||
outputs = { self, nixpkgs, nixos-exporter, ... }: {
|
||||
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Prometheus exporter for NixOS-specific metrics";
|
||||
homepage = "https://git.t-juice.club/torjus/nixos-exporter";
|
||||
homepage = "https://code.t-juice.club/torjus/nixos-exporter";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module git.t-juice.club/torjus/nixos-exporter
|
||||
module code.t-juice.club/torjus/nixos-exporter
|
||||
|
||||
go 1.23.0
|
||||
|
||||
|
||||
4
main.go
4
main.go
@@ -9,8 +9,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"git.t-juice.club/torjus/nixos-exporter/collector"
|
||||
"git.t-juice.club/torjus/nixos-exporter/config"
|
||||
"code.t-juice.club/torjus/nixos-exporter/collector"
|
||||
"code.t-juice.club/torjus/nixos-exporter/config"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user