drop requirement for importing qemu-vm.nix

This commit is contained in:
Jörg Thalheim
2023-09-27 14:31:19 +02:00
parent 974f07628b
commit 2f73e6b472
3 changed files with 47 additions and 11 deletions

View File

@@ -52,8 +52,6 @@ def schema_for_machine(machine_name: str, flake: Optional[Path] = None) -> dict:
flags=[
"--impure",
"--show-trace",
"--extra-experimental-features",
"nix-command flakes",
"--expr",
f"""
let

View File

@@ -10,8 +10,7 @@
clan = clan-core.lib.buildClan {
directory = self;
machines = {
vm1 = { modulesPath, lib, ... }: {
imports = [ "${toString modulesPath}/virtualisation/qemu-vm.nix" ];
vm1 = { lib, ... }: {
clan.networking.deploymentAddress = "__CLAN_DEPLOYMENT_ADDRESS__";
sops.age.keyFile = "__CLAN_SOPS_KEY_PATH__";
system.stateVersion = lib.version;