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,8 +1,4 @@
{
config,
pkgs,
...
}: let
{inputs, ...}: let
inherit (import ../../lib) retiolumAddresses;
in {
imports = [
@@ -16,19 +12,19 @@ in {
age.secrets = {
retiolum-rsa = {
file = ../../secrets/manakish-retiolum-privateKey-rsa.age;
file = inputs.secrets + "/manakish-retiolum-privateKey-rsa.age";
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
retiolum-ed25519 = {
file = ../../secrets/manakish-retiolum-privateKey-ed25519.age;
file = inputs.secrets + "/manakish-retiolum-privateKey-ed25519.age";
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
syncthing-cert.file = ../../secrets/manakish-syncthing-cert.age;
syncthing-key.file = ../../secrets/manakish-syncthing-key.age;
syncthing-cert.file = inputs.secrets + "/manakish-syncthing-cert.age";
syncthing-key.file = inputs.secrets + "/manakish-syncthing-key.age";
};
niveum = {