update flake, remove grapejuice, remove system_tools

also temporarily removes hydra jobs
This commit is contained in:
2024-09-05 01:27:56 -04:00
parent 81caeef4f0
commit 945674b284
5 changed files with 76 additions and 207 deletions

View File

@ -14,7 +14,6 @@
./minio.nix
./networking.nix
./nextcloud.nix
./services.nix
./zfs.nix
];

View File

@ -1,32 +0,0 @@
{
config,
inputs,
pkgs,
...
}:
{
systemd = {
services.startup_validation = {
requires = [ "network-online.target" ];
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
description = "validates startup";
path = [ pkgs.zfs ];
serviceConfig = {
Type = "oneshot";
EnvironmentFile = config.sops.secrets."server-validation/webhook".path;
ExecStart = "${inputs.system_tools.packages.x86_64-linux.default}/bin/validate_palatine_hill";
};
};
timers.startup_validation = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "10min";
Unit = "startup_validation.service";
};
};
};
sops = {
secrets."server-validation/webhook".owner = "root";
};
}