1
0
Fork 0

It looks like English too

master
dump_stack() 2018-06-30 22:10:39 +00:00
parent 49932cdaa8
commit b3a06c6c7b
1 changed files with 16 additions and 0 deletions

View File

@ -46,3 +46,19 @@ Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a
## Close VM
$ 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).