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

@@ -1,5 +1,5 @@
{
lib,
inputs,
config,
pkgs,
...
@@ -36,19 +36,19 @@ in {
age.secrets = {
retiolum-rsa = {
file = ../../secrets/ful-retiolum-privateKey-rsa.age;
file = inputs.secrets + "/ful-retiolum-privateKey-rsa.age";
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
retiolum-ed25519 = {
file = ../../secrets/ful-retiolum-privateKey-ed25519.age;
file = inputs.secrets + "/ful-retiolum-privateKey-ed25519.age";
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
root.file = ../../secrets/ful-root.age;
restic.file = ../../secrets/restic.age;
root.file = inputs.secrets + "/ful-root.age";
restic.file = inputs.secrets + "/restic.age";
};
services.restic.backups.niveum = {