diff --git a/README.md b/README.md index 4b55506..4467391 100644 --- a/README.md +++ b/README.md @@ -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 = [ + + + ]; + + 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).