summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2025-01-15 11:56:19 -0600
committerJeffrey C. Ollie <jeff@ocjtech.us>2025-01-15 11:56:19 -0600
commit423133bc3c4151d2f289282b9c2bdf09bc84c9dd (patch)
tree8942c1caa83ad56368a6a3b908ce23a11f18364a /flake.nix
parent1ac56a7ac2552d2d9f2ee67f597a5c574670956a (diff)
nix: document how to create custom vms
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index b3cd77087..d787c0609 100644
--- a/flake.nix
+++ b/flake.nix
@@ -61,9 +61,9 @@
apps.${system} = let
runVM = (
- path: let
+ module: let
vm = import ./nix/vm/create.nix {
- inherit system path;
+ inherit system module;
nixpkgs = nixpkgs-stable;
overlay = self.overlays.debug;
};
@@ -71,7 +71,7 @@
SHARED_DIR=$(pwd)
export SHARED_DIR
- ${vm.config.system.build.vm}/bin/run-ghostty-vm
+ ${pkgs-stable.lib.getExe vm.config.system.build.vm} "$@"
'';
in {
type = "app";