mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2025-05-01 17:44:24 +00:00
Update builtin chromium appvm description
This commit is contained in:
parent
3e8a08d638
commit
dbfc2929db
2 changed files with 20 additions and 29 deletions
16
README.md
16
README.md
|
@ -83,19 +83,3 @@ to crontab like that:
|
|||
|
||||
$ crontab -l
|
||||
* * * * * /home/user/dev/go/bin/appvm autoballoon
|
||||
|
||||
# App description
|
||||
|
||||
$ cat nix/chromium.nix
|
||||
{pkgs, ...}:
|
||||
{
|
||||
imports = [
|
||||
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>
|
||||
<nix/base.nix>
|
||||
];
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue