From cc55cb344317092eedd593dc0b04a6a8c309fc39 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Mon, 24 Aug 2026 15:45:49 -0500 Subject: [PATCH] make unique from gitea --- homelab-services/gitea/flake.nix | 8 ++++---- nixos/configuration.nix | 2 +- nixos/flake.nix | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/homelab-services/gitea/flake.nix b/homelab-services/gitea/flake.nix index 63c1f53..e1e81da 100644 --- a/homelab-services/gitea/flake.nix +++ b/homelab-services/gitea/flake.nix @@ -8,7 +8,7 @@ outputs = { ... }: { - nixosModules.gitea = + nixosModules.hl-gitea = { config, lib, @@ -17,10 +17,10 @@ }: let k3sDir = ./k3s; - opts = config.services.gitea; + opts = config.services.hl-gitea; in { - options.services.gitea = { + options.services.hl-gitea = { enable = lib.mkEnableOption "Run Gitea in k3s"; default-nginx = { @@ -49,7 +49,7 @@ }; config = lib.mkIf opts.enable { - systemd.services.gitea = { + systemd.services.hl-gitea = { description = "oneshot apply service to k3s"; after = [ "k3s.service" ]; wantedBy = [ "multi-user.target" ]; diff --git a/nixos/configuration.nix b/nixos/configuration.nix index e71ccfe..d2d7330 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -120,7 +120,7 @@ # GITEA SERVICE # # ================================ # - services.gitea = { + services.hl-gitea = { enable = false; credentialsFile = config.sops.secrets."minio-credentials".path; database-hostname = "127.0.0.1:5432"; # whatever port I host psql on below diff --git a/nixos/flake.nix b/nixos/flake.nix index 87b2a56..6199ba2 100755 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -81,7 +81,7 @@ nimh-static.nixosModules.nimh-static mc-service.nixosModules.mc-service postgresql-db.nixosModules.postgresql-db - gitea.nixosModules.gitea + gitea.nixosModules.hl-gitea home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true;