From b311b513d01b298933cfc66b84869baaedd4fbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sat, 28 Oct 2023 23:55:39 +0200 Subject: [PATCH] fix: gitea secrets --- hosts/nachtigall/apps/forgejo.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/nachtigall/apps/forgejo.nix b/hosts/nachtigall/apps/forgejo.nix index 8d007b39..fb7a8d00 100644 --- a/hosts/nachtigall/apps/forgejo.nix +++ b/hosts/nachtigall/apps/forgejo.nix @@ -2,17 +2,17 @@ config, lib, pkgs, - self, + flake, ... }: { age.secrets.forgejo-database-password = { - file = "${self}/secrets/forgejo-database-password.age"; + file = "${flake.self}/secrets/forgejo-database-password.age"; mode = "600"; owner = "gitea"; }; age.secrets.forgejo-mailer-password = { - file = "${self}/secrets/forgejo-mailer-password.age"; + file = "${flake.self}/secrets/forgejo-mailer-password.age"; mode = "600"; owner = "gitea"; };