mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -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,
|
||||
...
|
||||
}:
|
||||
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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue