appvm/nix/torbrowser.nix

13 lines
346 B
Nix
Raw Normal View History

2018-08-11 14:55:11 +00:00
{pkgs, ...}:
{
imports = [
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>
<nix/base.nix>
];
# TODO: block all connections outside tor
environment.systemPackages = [ pkgs.tor-browser-bundle-bin ];
services.xserver.displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.tor-browser-bundle-bin}/bin/tor-browser; done &";
}