updated startup_validation to have a config file

This commit is contained in:
2025-02-01 12:50:56 -05:00
parent 7cc831a2d0
commit f10ab4a9af
3 changed files with 17 additions and 4 deletions

6
flake.lock generated
View File

@@ -287,11 +287,11 @@
"poetry2nix": "poetry2nix" "poetry2nix": "poetry2nix"
}, },
"locked": { "locked": {
"lastModified": 1738361837, "lastModified": 1738431375,
"narHash": "sha256-wC8hJvhdFdrEtzc7HMWyXNtQbS3CVyOjUUpEHtxOlJg=", "narHash": "sha256-jk6JrgqNe0dEPxV2xX/pBVsrPDfWaa033LKcyERkHJw=",
"owner": "RichieCahill", "owner": "RichieCahill",
"repo": "system_tools", "repo": "system_tools",
"rev": "a697bd3df11ba40afd40d6324a39859c91b7bb78", "rev": "36764189680c9be26192ee94da1a3f33f890ff0d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -25,7 +25,7 @@ in
serviceConfig = { serviceConfig = {
EnvironmentFile = "${vars.storage_secrets}/services/server-validation"; EnvironmentFile = "${vars.storage_secrets}/services/server-validation";
Type = "oneshot"; Type = "oneshot";
ExecStart = "${inputs.system_tools.packages.x86_64-linux.default}/bin/validate_jeeves"; ExecStart = "${inputs.system_tools.packages.x86_64-linux.default}/bin/validate_system --config-file='${./validate_system.toml}'";
}; };
}; };
}; };

View File

@@ -0,0 +1,13 @@
zpool = ["root_pool", "storage", "torrenting", "media"]
services = [
"docker-audiobookshelf",
"docker-cloud_flare_tunnel",
"docker-filebrowser",
"docker-haproxy",
"docker-qbit",
"docker-qbitvpn",
"docker-uptime_kuma",
"docker",
"home-assistant",
"jellyfin",
]