Add chromium app vm description

This commit is contained in:
Mikhail Klementev 2018-06-30 20:50:33 +00:00
parent 245b06592b
commit a82df7210a

10
nix/chromium.nix Normal file
View File

@ -0,0 +1,10 @@
{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 &";
}