start win10 .desktop file

This commit is contained in:
Daylin Morgan 2024-06-01 01:51:55 -05:00
parent 12baa156cf
commit 8ac0e868ba
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -4,7 +4,22 @@
mkOizysModule, mkOizysModule,
... ...
}: }:
let
# TODO: polish this up
win10vm = pkgs.stdenvNoCC.mkDerivation {
name = "win10vm";
unpackPhase = "true";
buildPhase = "mkdir $out";
version = "unstable";
desktopItem = pkgs.makeDesktopItem {
name = "win10vm";
exec = "VBoxManage startvm win10";
# icon = ""; # TODO: add windows icon
desktopName = "Windows 10 VM";
};
};
in
mkOizysModule config "docker" { mkOizysModule config "docker" {
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [ lazydocker ]; environment.systemPackages = (with pkgs; [ lazydocker]) ++ [ win10vm];
} }