mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-27 10:31:31 +00:00
Define torbrowser
This commit is contained in:
parent
ff4e7f8398
commit
575e147989
|
@ -101,3 +101,4 @@ For create new app you should add package name (search at https://nixos.org/nixo
|
|||
* evince
|
||||
* libreoffice
|
||||
* wire
|
||||
* torbrowser
|
||||
|
|
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…
Reference in a new issue