From 8e84f7997a64f4e711fee74f365df1fce2e1c426 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 14 Dec 2023 15:45:45 +0100 Subject: [PATCH] vms/run: remove superfluous command --- pkgs/clan-cli/clan_cli/vms/run.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/vms/run.py b/pkgs/clan-cli/clan_cli/vms/run.py index 51a9101a3..e71e4c280 100644 --- a/pkgs/clan-cli/clan_cli/vms/run.py +++ b/pkgs/clan-cli/clan_cli/vms/run.py @@ -60,7 +60,6 @@ def qemu_command( xchg_dir: Path, secrets_dir: Path, disk_img: Path, - wayland: bool, ) -> list[str]: kernel_cmdline = [ (Path(nixos_config["toplevel"]) / "kernel-params").read_text(), @@ -68,7 +67,7 @@ def qemu_command( f'regInfo={nixos_config["regInfo"]}/registration', "console=ttyS0,115200n8", ] - if not wayland: + if not vm.wayland: kernel_cmdline.append("console=tty0") # fmt: off command = [ @@ -247,7 +246,6 @@ def run_vm( xchg_dir=xchg_dir, secrets_dir=secrets_dir, disk_img=disk_img, - wayland=vm.wayland, ) if vm.wayland: