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
1 changed files with 16 additions and 1 deletions

View File

@ -4,7 +4,22 @@
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" {
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [ lazydocker ];
environment.systemPackages = (with pkgs; [ lazydocker]) ++ [ win10vm];
}