🐛 (hydrogen/nginx) switch from fetchfromgitea to fetchgit

This commit is contained in:
Laureηt 2023-06-25 13:50:33 +02:00
parent c0ed6435c2
commit 5d63d581cd
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
3 changed files with 9 additions and 10 deletions

View file

@ -8,5 +8,5 @@
recommendedProxySettings = true;
};
imports = [ ./personal-websites.nix ./resume.nix ];
imports = [ ./n7 ./personal-websites.nix ./resume.nix ];
}

View file

@ -1,11 +1,11 @@
{ pkgs, ... }:
let
pages = pkgs.fetchFromGitea {
domain = "git.fainsin.bzh";
owner = "Laurent";
repo = "personal-website";
rev = "pages";
sha256 = "sha256-ahx9YSKyImQDu7k6/hbgYQdAnw5yInXQ/n14CLWTVkc=";
pages = pkgs.fetchgit {
url = "https://git.fainsin.bzh/Laurent/personal-website";
branchName = "pages";
fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773
rev = "4b4f16f32d4e4e8f35071f7260d8f40ff582d094"; # pages
sha256 = "sha256-BDs7v9r+h20ftEX+Q4M0BAQalm/9QrpGVJVFjVXg9bA=";
};
in {
services.nginx.virtualHosts = {

View file

@ -2,10 +2,9 @@
let
pages = pkgs.fetchgit {
url = "https://git.fainsin.bzh/Laurent/resume";
branchName = "pages";
fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773
rev = "c912f223da5440d63e23e6346a672e537dca088f";
sha256 = "sha256-Ay4JKKcYC5NGlordvIRL8TWmtuEEv7r3XVYbL4W9RR4=";
rev = "57134888a29bc56e4ca3a2507d4e3b728619948f"; # pages
sha256 = "sha256-i4VwSFB5XoI5ySfGx4sCeZDWqAJ9p53OCy9ewlOCWFU=";
};
in {
services.nginx.virtualHosts = {