trying generation of config file (oott.toml)

This commit is contained in:
rzuasti
2026-01-26 10:41:00 -05:00
parent 04b6e1553a
commit 3b776462b0
+5 -5
View File
@@ -36,11 +36,11 @@ in {
wantedBy = ["multi-user.target"];
serviceConfig = {
# ExecStart = "${cfg.package}/bin/oott ${
# builtins.toFile "oott.toml"
# (generators.toTOML {} cfg)
# }";
ExecStart = "${pkgs.oott}/bin/oott";
ExecStart = "${pkgs.oott}/bin/oott ${
builtins.toFile "oott.toml"
(generators.toTOML {} cfg)
}";
# ExecStart = "${pkgs.oott}/bin/oott";
ProtectHome = "read-only";
Restart = "on-failure";
Type = "exec";