Files
zag/src/defaults.zig
T

16 lines
694 B
Zig

//! Default configuration files embedded in the binary (written by `zag config install`).
pub const zag_conf = @embedFile("defaults/zag.conf");
pub const high_load = @embedFile("defaults/high.load");
pub const medium_load = @embedFile("defaults/medium.load");
pub const low_load = @embedFile("defaults/low.load");
pub const File = struct { name: []const u8, content: []const u8 };
/// Everything `config install` writes into the system config directory.
pub const files = [_]File{
.{ .name = "zag.conf", .content = zag_conf },
.{ .name = "high.load", .content = high_load },
.{ .name = "medium.load", .content = medium_load },
.{ .name = "low.load", .content = low_load },
};