mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
moved vm aliases to vfio.nix
This commit is contained in:
parent
f049f7fe37
commit
0cec0448ce
4 changed files with 9 additions and 9 deletions
|
|
@ -25,7 +25,13 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [virt-manager];
|
||||
environment = {
|
||||
systemPackages = with pkgs; [virt-manager];
|
||||
shellAliases = {
|
||||
vm-start = "virsh start Windows";
|
||||
vm-stop = "virsh shutdown Windows";
|
||||
};
|
||||
};
|
||||
systemd.services.libvirtd.preStart = let
|
||||
qemuHook = pkgs.writeScript "qemu-hook" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue