mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2025-05-06 03:48:48 +00:00
Define torbrowser
This commit is contained in:
parent
ff4e7f8398
commit
575e147989
2 changed files with 13 additions and 0 deletions
12
nix/torbrowser.nix
Normal file
12
nix/torbrowser.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{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 &";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue