mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-30 12:01:29 +00:00
13 lines
346 B
Nix
13 lines
346 B
Nix
|
{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 &";
|
||
|
}
|