updated commands with typer

This commit is contained in:
2025-10-17 12:46:44 -04:00
parent d35ba60c69
commit 04bf6f2038
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ in
Type = "oneshot"; Type = "oneshot";
ExecStart = "${ ExecStart = "${
inputs.system_tools.packages.${pkgs.system}.default inputs.system_tools.packages.${pkgs.system}.default
}/bin/snapshot_manager --config-file=${lib.escapeShellArg cfg.path}"; }/bin/snapshot_manager ${lib.escapeShellArg cfg.path}";
} }
// lib.optionalAttrs (cfg.EnvironmentFile != null) { // lib.optionalAttrs (cfg.EnvironmentFile != null) {
EnvironmentFile = cfg.EnvironmentFile; EnvironmentFile = cfg.EnvironmentFile;

View File

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