diff --git a/nodes.py b/nodes.py index 439c306..bf369b5 100644 --- a/nodes.py +++ b/nodes.py @@ -1,6 +1,8 @@ from os.path import join from pathlib import Path +from bundlewrap.metadata import atomic + for node in Path(join(repo_path, "nodes")).rglob("*.py"): with open(node, 'r') as f: exec(f.read()) diff --git a/nodes/home/router.py b/nodes/home/router.py index e445be6..8f9d098 100644 --- a/nodes/home/router.py +++ b/nodes/home/router.py @@ -37,6 +37,15 @@ nodes['home.router'] = { 'snmp': {}, 'snmp-mibs-downloader': {}, }, + + # XXX remove this once nginx.org has packages for debian bullseye + 'repos': { + 'nginx': { + 'items': atomic({ + 'deb http://nginx.org/packages/debian buster nginx', + }), + }, + }, }, 'backups': { 'exclude_from_backups': True,