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,13 +1,13 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"bubblesort.clerie.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/bubblesort_js.git";
ref = "main";
rev = "39d54701a11f4fb48d7e023e384a848e6bde5640";
sha256 = "sha256-au/sbTVLDER0BbXD6cKJIpq0GcS/saiRQw46mZQWsO0=";
};
};
};

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 = ''

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
@@ -13,10 +13,10 @@
"milchinsel.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/milchinsel.de.git";
ref = "master";
rev = "8ca6727902fb5a2581b56c4b3ab8d01585f3acb0";
sha256 = "sha256-JYdEZDLLojsgWwfJYR1riBUhs73/mdlVSOeLUgnqNhg=";
};
};
};

View File

@@ -1,14 +1,14 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"ping.clerie.de" = {
enableACME = true;
addSSL = true;
root = fetchGit {
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/ping.clerie.de.git";
ref = "main";
rev = "c9c0849e1f63fd2e3aeeba8ce19ec44065a5d563";
sha256 = "sha256-w6YG8qtuAVR7ET9pI/j8UMhF3JLDywLbD6DbM/Huyzw=";
};
/*
locations."= /" = {

View File

@@ -1,20 +1,20 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"prediger.riese.space" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/prediger.riese.space.git";
ref = "main";
rev = "7f51e884ccf8a258838adb1d825bc51eeef2f475";
sha256 = "sha256-tL+k9l0fX4dc971y4EWGM++BvjfnvRAtU/LvS2QYANU=";
};
locations."/map/" = {
alias = fetchGit {
alias = pkgs.fetchgit {
url = "https://git.clerie.de/quiribi/Prediger-workadventure.git";
ref = "master";
rev = "304850367aad275c3410005580313dac7fe24788";
sha256 = "sha256-t6C7k5p6ZKfQedumTqxEmGYQqgaE3OiK5q41dDWnz/Y=";
} + "/";
extraConfig = ''
add_header Access-Control-Allow-Origin *;

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
@@ -13,10 +13,10 @@
"reichartstrasse.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/reichartstrasse.de.git";
ref = "master";
rev = "377e27d8a8d4b701fa7da072d3f3e68925c5f274";
sha256 = "sha256-eOljD7TsSmE8LpNd/3kKAPBLvNVpED7FN9++srOALOU=";
};
};
};