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
|
* evince
|
||||||
* libreoffice
|
* libreoffice
|
||||||
* wire
|
* 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 New Issue
Block a user