diff --git a/nixos-apps/git.ewanick.com.nix b/nixos-apps/git.ewanick.com.nix index 18fe9c0..ea675a4 100644 --- a/nixos-apps/git.ewanick.com.nix +++ b/nixos-apps/git.ewanick.com.nix @@ -1,5 +1,7 @@ { pkgs, ... }: -let baseUrl = "git.ewanick.com"; +let + baseUrl = "git.ewanick.com"; + PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/git.ewanick.com"; in { services.gitea = { @@ -26,7 +28,7 @@ in enable = true; name = "linode-nixos"; url = "https://${baseUrl}/"; - tokenFile = ./git.ewanick.com/tokenFile; + tokenFile = PROJECT_ROOT/tokenFile; hostPackages = with pkgs; [ bash coreutils