Add agenix age file to forgejo deployment

This commit is contained in:
Théo Barnouin 2024-10-23 12:16:24 +02:00
parent 409c65a779
commit 41fb790367

View file

@ -7,6 +7,7 @@ in
enable = lib.mkEnableOption "Enable Forgejo service"; enable = lib.mkEnableOption "Enable Forgejo service";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
age.secrets.forgejo-runner-token.file = ./secrets/forgejo-runner-token.age
services.forgejo-actions-runner = { services.forgejo-actions-runner = {
package = pkgs.forgejo-actions-runner; package = pkgs.forgejo-actions-runner;
instances.default = { instances.default = {