This commit is contained in:
4DBug
2026-03-23 08:24:07 -05:00
parent 650f0469bc
commit 2ab5eff599
7 changed files with 33 additions and 14 deletions

View File

@@ -1,16 +1,16 @@
# nix run .#vm
{ inputs, den, ... }: {
den.aspects.nix.includes = [ (den.provides.tty-autologin "bug") ];
den.aspects.nix.includes = [ (den.provides.tty-autologin "bug") ];
perSystem = { pkgs, ... }: {
packages.vm = pkgs.writeShellApplication {
name = "vm";
text = let
host = inputs.self.nixosConfigurations.nix.config;
in ''
${host.system.build.vm}/bin/run-${host.networking.hostName}-vm "$@"
'';
};
perSystem = { pkgs, ... }: {
packages.vm = pkgs.writeShellApplication {
name = "vm";
text = let
host = inputs.self.nixosConfigurations.nix.config;
in ''
${host.system.build.vm}/bin/run-${host.networking.hostName}-vm "$@"
'';
};
};
}