Compare commits

..

26 commits

Author SHA1 Message Date
Max
9424a23005 cluster/simulacrum: only run checks on x86_64-linux 2024-07-23 20:17:47 +02:00
Max
22120eda48 cluster/services/frangiclave: funny 2024-07-23 20:16:35 +02:00
Max
e1321b98dd packages/catalog: expose simulacrum checks differently 2024-07-23 20:16:35 +02:00
Max
921e8e6825 cluster/simulacrum: expose checks 2024-07-23 20:16:35 +02:00
Max
d7da0e3150 cluster/services/forge: use forService 2024-07-23 20:16:35 +02:00
Max
8f55dbf4ef cluster/services/attic: use forService 2024-07-23 20:16:35 +02:00
Max
1864d8d455 cluster/lib: implement config.lib.forService for better option filtering 2024-07-23 20:16:35 +02:00
Max
5cd72b3c9c cluster/simulacrum: set testConfig 2024-07-23 20:16:35 +02:00
Max
fc8889480e cluster/lib: introduce testConfig 2024-07-23 20:16:35 +02:00
Max
83094f3d4d packages/catalog: don't use meta.description 2024-07-23 20:16:35 +02:00
Max
ec1cabafae cluster/services/frangiclave: test in simulacrum WIP 2024-07-23 20:16:35 +02:00
Max
a2b6c881a2 cluster/services/storage: test in simulacrum 2024-07-23 20:16:35 +02:00
Max
4e61ca1b03 cluster/services/consul: test in simulacrum 2024-07-23 20:16:35 +02:00
Max
c64958eac2 cluster/services/wireguard: make simulacrum compatible 2024-07-23 20:16:35 +02:00
Max
9eaecaaa2d cluster/catalog: support snakeoil secrets 2024-07-23 20:16:35 +02:00
Max
4ac5c707ec cluster/simulacrum: init 2024-07-23 20:16:35 +02:00
Max
b98e19b59a cluster/lib: implement simulacrum options 2024-07-23 20:16:35 +02:00
Max
321791e809 cluster/services/frangiclave: retry_join 2024-07-23 20:16:35 +02:00
Max
e4c211aaa1 cluster/services/frangiclave: some cluster stuff 2024-07-23 20:16:35 +02:00
Max
de28fac9a0 cluster/services/frangiclave: init trivial WIP 2024-07-23 20:16:35 +02:00
Max
b604c3b09b WIP ENABLE DEBUG MODE 2024-07-23 20:16:35 +02:00
Max
62c9445418 cluster/lib: implement injectNixosConfigForServices to select individual services 2024-07-23 20:16:35 +02:00
Max
feefcb6289 checks: add fake external storage module 2024-07-23 20:16:35 +02:00
Max
b99ee9b8e9 checks: add a bunch of snakeoil keys 2024-07-23 20:16:35 +02:00
Max
b9d0c97887 VEGAS/database: drop 2024-07-23 20:15:46 +02:00
Max
af61824dc9 cluster/services/sso: integrate VEGAS/oauth2-proxy 2024-07-23 20:15:46 +02:00
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ let
in
{
age.secrets.oauth2_proxy-secrets = {
file = ../../../../secrets/oauth2_proxy-secrets.age;
file = ../../../secrets/oauth2_proxy-secrets.age;
owner = "root";
group = "root";
mode = "0400";

View file

@ -1,8 +1,8 @@
{ config, extendModules, lib, ... }:
{
perSystem = { pkgs, ... }: {
checks = lib.mapAttrs' (name: svc: let
perSystem = { pkgs, system, ... }: {
checks = lib.mkIf (system == "x86_64-linux") (lib.mapAttrs' (name: svc: let
runSimulacrum = pkgs.callPackage ./. {
inherit config extendModules;
};
@ -11,6 +11,6 @@
value = runSimulacrum {
service = name;
};
}) (lib.filterAttrs (_: svc: svc.simulacrum.enable) config.cluster.config.services);
}) (lib.filterAttrs (_: svc: svc.simulacrum.enable) config.cluster.config.services));
};
}