···11+# enables `nix run .#vm`. it is very useful to have a VM
22+# you can edit your config and launch the VM to test stuff
33+# instead of having to reboot each time.
44+{ inputs, ... }:
55+{
66+ perSystem =
77+ { pkgs, ... }:
88+ {
99+ packages.vm = pkgs.writeShellApplication {
1010+ name = "vm";
1111+ text = ''
1212+ ${inputs.self.nixosConfigurations.igloo.config.system.build.vm}/bin/run-igloo-vm "$@"
1313+ '';
1414+ };
1515+ };
1616+}