1
0

replace fetchGit with pkgs.fetchgit

This commit is contained in:
2022-10-17 23:03:09 +02:00
parent 0b66c298ab
commit 6dc04a8581
9 changed files with 29 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
@@ -13,10 +13,10 @@
"clerie.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/clerie.de.git";
ref = "main";
rev = "67738c06cff85e2cefbea87d45c277bd01a3778a";
sha256 = "sha256-CfoCNurVaE2f6C43UA7IW1dihPb3Xx7nWVnsaAGb/Ew=";
};
locations."~ ^/.well-known/openpgpkey/hu/[a-z0-9]+/?$" = {
extraConfig = ''