diff --git a/constants.py b/constants.py index 9e829d5..e2c87cc 100644 --- a/constants.py +++ b/constants.py @@ -26,7 +26,7 @@ BASE_PACKAGES: list[str] = BASE_LOCAL_PACKAGES + [ POST_CMDS = ['kupfer-config apply'] -REPOS_CONFIG_FILE = "repos.toml" +REPOS_CONFIG_FILE = "repos.yaml" REPOSITORIES = [ 'boot', diff --git a/distro/repo_config.py b/distro/repo_config.py index 655aca5..366a533 100644 --- a/distro/repo_config.py +++ b/distro/repo_config.py @@ -82,7 +82,7 @@ class ReposConfigFile(DataClass): def parse_config(path: str) -> ReposConfigFile: try: with open(path, 'r') as fd: - data = toml.load(fd) + data = yaml.safe_load(fd) data['_path'] = path data['_checksum'] = sha256sum(path) return ReposConfigFile(data, validate=True)