feat: Start config schema
This commit is contained in:
+54
@@ -0,0 +1,54 @@
|
||||
# yaml-language-server: $schema=config.schema.json
|
||||
# TODO: Change the above to an import URL instead
|
||||
requires:
|
||||
- path/to/other/configs/relative/to/this # Reads the other configs after finishing this one
|
||||
|
||||
pkgs:
|
||||
named:
|
||||
- pkg_name
|
||||
presets:
|
||||
- hyprland
|
||||
|
||||
users:
|
||||
- username: username
|
||||
groups:
|
||||
- group_1
|
||||
home_dir: True
|
||||
|
||||
boot:
|
||||
bootloader: grub
|
||||
theme:
|
||||
src: git # (expects a git clone url) or repo (for this repo) or url (for a valid URL openable using wget)
|
||||
url: path/to/theme
|
||||
build: none # or make TODO: More options
|
||||
os_prober: False
|
||||
# Also copies over the /etc/default/grub config or equivalent for other supported bootloaders
|
||||
|
||||
# TODO: Desktops, login managers, full disk encryption etc configuration?
|
||||
|
||||
themes:
|
||||
gtk: theme_name
|
||||
qt: theme_name # or use_gtk to use the gtk theme instaed
|
||||
font: Comfortaa 11 # the font name to be used (also needs to be installed)
|
||||
icon_theme: candy-icons # The icon theme to use (also needs to be installed)
|
||||
cursor_theme: oreo_spark_blue_cursors # TODO: Consider if GTK settings file should just be copied
|
||||
|
||||
git:
|
||||
creds:
|
||||
ssh_cert: gen # or none
|
||||
manager: git-credential-manager # or none
|
||||
login:
|
||||
- service: github # Service name
|
||||
type: oauth # Set to ssh for it to not be managed by cred manager
|
||||
url: https://github.com
|
||||
repos:
|
||||
- url: https://github.com/...
|
||||
clone_path: ~/projects/ # Project location will be clone_path/<repo name>
|
||||
|
||||
template_data:
|
||||
- name: template_data_name
|
||||
data: the_data
|
||||
|
||||
# TODO: Think about how to handle this appropriately with diffing and stuff
|
||||
cmds:
|
||||
- "command to run"
|
||||
Reference in New Issue
Block a user