refactor(browsers): move tor-browser into own file
This commit is contained in:
parent
a00fdeee6d
commit
2cf6ced7f3
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./firefox.nix ];
|
||||
imports = [ ./firefox.nix ./tor-browser.nix ];
|
||||
|
||||
home.sessionVariables.BROWSER = "firefox";
|
||||
}
|
||||
|
|
|
@ -165,8 +165,7 @@ in {
|
|||
cp -r ${scriptBin}/bin/${name} $out/bin/${name}
|
||||
cp -r ${desktopFile}/share/applications $out/share/applications
|
||||
'';
|
||||
in with pkgs; [
|
||||
(tor-browser-bundle-bin.override { pulseaudioSupport = true; })
|
||||
in [
|
||||
(makeFirefoxProfileBin {
|
||||
profile = "work";
|
||||
desktopName = "Firefox (Work)";
|
||||
|
|
6
home/browsers/tor-browser.nix
Normal file
6
home/browsers/tor-browser.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs;
|
||||
[ (tor-browser-bundle-bin.override { pulseaudioSupport = true; }) ];
|
||||
}
|
Loading…
Reference in a new issue