mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-22 20:23:01 +00:00
It looks like English too
This commit is contained in:
parent
49932cdaa8
commit
b3a06c6c7b
16
README.md
16
README.md
@ -46,3 +46,19 @@ Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a
|
|||||||
## Close VM
|
## Close VM
|
||||||
|
|
||||||
$ pkill.... :)
|
$ pkill.... :)
|
||||||
|
|
||||||
|
# App description
|
||||||
|
|
||||||
|
$ cat nix/chromium.nix
|
||||||
|
{pkgs, ...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>
|
||||||
|
<nix/base.nix>
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.chromium ];
|
||||||
|
services.xserver.displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.chromium}/bin/chromium; done &";
|
||||||
|
}
|
||||||
|
|
||||||
|
For create new app you should add package name (search at https://nixos.org/nixos/packages.html) and path to binary (typically same as package name).
|
||||||
|
Loading…
Reference in New Issue
Block a user