1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

chore: get secrets via input, mock for CI

this fixes CI, yay!
This commit is contained in:
2023-06-27 17:57:42 +02:00
parent d0edb9c915
commit 3138fd23ef
32 changed files with 203 additions and 111 deletions

View File

@@ -2,6 +2,7 @@
config,
pkgs,
lib,
inputs,
...
}: let
moodle-dl-package = pkgs.moodle-dl.overrideAttrs (old:
@@ -13,14 +14,14 @@ in {
age.secrets = {
/*
moodle-dl-tokens = {
file = ../../secrets/zaatar-moodle-dl-tokens.json.age;
file = inputs.secrets + "/zaatar-moodle-dl-tokens.json.age";
owner = "moodle-dl";
group = "moodle-dl";
mode = "400";
};
*/
moodle-dl-basicAuth = {
file = ../../secrets/zaatar-moodle-dl-basicAuth.age;
file = inputs.secrets + "/zaatar-moodle-dl-basicAuth.age";
owner = "nginx";
group = "nginx";
mode = "400";