dotfiles/configs/example/crate.toml

27 lines
715 B
TOML

name = "example" #*
description = "hello"
author = ":$3"
# [ LINKS ]
# This defines what links should be made.
# vars:
# "$CRATE" expands to path of directory of this file.
# "$CROOT" expands to base directory / cwd from the runner
# prefixes:
# "#" - system root
# "~" - home of user or user defined in options
# "%" - temp directory
[links]
"$CRATE/system.sh" = { name = "/etc/system_boot", su = "true" }
"$CRATE/system2.sh" = "#/etc/system_boot.sh" # same as above
# [ COPIES ]
# basically the same as links but copies
[copies]
"$CRATE/system3.sh" = "#/etc/system_boot.sh" # same as above
# [ SCRIPTS ]
# Run stuff
[scripts]
"$CRATE/system/net_config.sh" = 1
"$CRATE/system/net_config2.sh" = { su = "false" }