mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
start win10 .desktop file
This commit is contained in:
parent
12baa156cf
commit
8ac0e868ba
1 changed files with 16 additions and 1 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue