Open fictionbecomesfact opened 8 months ago
hey! this page was super helpful and i was able to use it to get cockpit-machines running. you were missing libvirt-dbus
. i haven't actually tried creating any VMs yet, but everything seems happy atm so i thought i'd share.
this is how i went about it:
and finally install in configuration.nix
let
cockpit-machines = pkgs.callPackage packages/cockpit-machines/default.nix { inherit pkgs; };
libvirt-dbus = pkgs.callPackage packages/libvirt-dbus/default.nix { inherit pkgs; };
in
{
...
environment.systemPackages = with pkgs; [
cockpit
cockpit-machines
virt-manager # needed for cockpit-machines
libvirt-dbus # needed for cockpit-machines
];
...
well i was never able to get a VM created. can't get the oslibinfo call it makes to populate the OS list to work.
there's a request open for this and i commented on my progress there in case you want to try again.
Too bad it didn't work out. But good to know, thank you! I'll keep an eye on the package request, if it works I'll definitely give it a try
Comments for NixOS - Add Virtual Machines UI to Cockpit