mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-12-26 12:59:47 +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 &";
|
||
|
}
|