Chores: treesitter comment for bash syntax highlighting in the backup module

This commit is contained in:
boyreau 2026-09-06 17:07:53 +02:00
commit 176b620e43

View file

@ -32,7 +32,9 @@
command = lib.mkOption { command = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "A bash command to encrypt backups. Defaults to a clear archive (simple cat)."; description = "A bash command to encrypt backups. Defaults to a clear archive (simple cat).";
default = "cat \"$SRC\" > \"$DST\""; default = /* bash */ ''
cat "$SRC" > "$DST"
'';
}; };
key = lib.mkOption { key = lib.mkOption {
type = lib.types.nullOr lib.types.path; type = lib.types.nullOr lib.types.path;