mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
25 lines
547 B
Nix
25 lines
547 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
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]) ++ [ win10vm];
|
|
}
|