clan-lib: Move nix_options from Machine class to Flake class

This commit is contained in:
Qubasa
2025-06-23 13:46:10 +02:00
parent 20080f8857
commit cd1d49b603
11 changed files with 57 additions and 54 deletions

View File

@@ -124,6 +124,8 @@ def deploy_machine(
path = upload_sources(machine, sudo_host)
nix_options = machine.flake.nix_options if machine.flake.nix_options else []
nix_options = [
"--show-trace",
"--option",
@@ -133,7 +135,7 @@ def deploy_machine(
"accept-flake-config",
"true",
"-L",
*machine.nix_options,
*nix_options,
"--flake",
f"{path}#{machine.name}",
]