Skip to content

Commit

Permalink
fix: quickemu conf location for test virtualization
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio committed Nov 25, 2023
1 parent 9345f15 commit 8c5234c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@
modify-secret = "agenix -i ~/.ssh/id_rsa -e"; # the path relative to /secrets must be passed

rebuild-iso-console = "sudo true && pushd $HOME/0xc/nix-config && nix build .#nixosConfigurations.iso-console.config.system.build.isoImage && set ISO (head -n1 result/nix-support/hydra-build-products | cut -d'/' -f6) && sudo cp result/iso/$ISO ~/Quickemu/nixos-console/nixos.iso && popd";
test-iso-console = "pushd ~/Quickemu/nixos-console/nixos.iso && quickemu --vm nixos-console.conf --ssh-port 54321 && popd";
test-iso-console = "pushd ~/Quickemu/ && quickemu --vm nixos-console.conf --ssh-port 54321 && popd";

rebuild-iso-desktop = "sudo true && pushd $HOME/0xc/nix-config && nix build .#nixosConfigurations.iso-desktop.config.system.build.isoImage && set ISO (head -n1 result/nix-support/hydra-build-products | cut -d'/' -f6) && sudo cp result/iso/$ISO ~/Quickemu/nixos-desktop/nixos.iso && popd";
test-iso-desktop = "pushd ~/Quickemu/nixos-desktop/nixos.iso && quickemu --vm nixos-desktop.conf --ssh-port 54321 && popd";
test-iso-desktop = "pushd ~/Quickemu/ && quickemu --vm nixos-desktop.conf --ssh-port 54321 && popd";

rebuild-iso-nuc = "sudo true && pushd $HOME/0xc/nix-config && nix build .#nixosConfigurations.iso-nuc.config.system.build.isoImage && set ISO (head -n1 result/nix-support/hydra-build-products | cut -d'/' -f6) && sudo cp result/iso/$ISO ~/Quickemu/nixos-nuc/nixos.iso && popd";
test-iso-nuc = "pushd ~/Quickemu/nixos-nuc/nixos.iso && quickemu --vm nixos-nuc.conf --ssh-port 54321 && popd";
test-iso-nuc = "pushd ~/Quickemu/ && quickemu --vm nixos-nuc.conf --ssh-port 54321 && popd";
};
shellAliases = {
moon = "curl -s wttr.in/Moon";
Expand Down

0 comments on commit 8c5234c

Please sign in to comment.