🐛 (hydrogen/nginx) switch from fetchfromgitea to fetchgit
This commit is contained in:
parent
c0ed6435c2
commit
5d63d581cd
|
@ -8,5 +8,5 @@
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ ./personal-websites.nix ./resume.nix ];
|
imports = [ ./n7 ./personal-websites.nix ./resume.nix ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
pages = pkgs.fetchFromGitea {
|
pages = pkgs.fetchgit {
|
||||||
domain = "git.fainsin.bzh";
|
url = "https://git.fainsin.bzh/Laurent/personal-website";
|
||||||
owner = "Laurent";
|
branchName = "pages";
|
||||||
repo = "personal-website";
|
fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773
|
||||||
rev = "pages";
|
rev = "4b4f16f32d4e4e8f35071f7260d8f40ff582d094"; # pages
|
||||||
sha256 = "sha256-ahx9YSKyImQDu7k6/hbgYQdAnw5yInXQ/n14CLWTVkc=";
|
sha256 = "sha256-BDs7v9r+h20ftEX+Q4M0BAQalm/9QrpGVJVFjVXg9bA=";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
|
|
|
@ -2,10 +2,9 @@
|
||||||
let
|
let
|
||||||
pages = pkgs.fetchgit {
|
pages = pkgs.fetchgit {
|
||||||
url = "https://git.fainsin.bzh/Laurent/resume";
|
url = "https://git.fainsin.bzh/Laurent/resume";
|
||||||
branchName = "pages";
|
|
||||||
fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773
|
fetchLFS = true; # https://github.com/go-gitea/gitea/issues/4773
|
||||||
rev = "c912f223da5440d63e23e6346a672e537dca088f";
|
rev = "57134888a29bc56e4ca3a2507d4e3b728619948f"; # pages
|
||||||
sha256 = "sha256-Ay4JKKcYC5NGlordvIRL8TWmtuEEv7r3XVYbL4W9RR4=";
|
sha256 = "sha256-i4VwSFB5XoI5ySfGx4sCeZDWqAJ9p53OCy9ewlOCWFU=";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
|
|
Loading…
Reference in a new issue