nixos-config/profiles/packages/arkenfox-userjs.nix
2022-12-07 22:05:00 +03:00

23 lines
610 B
Nix
Executable File

{ stdenv, lib, arkenfox-repo }:
stdenv.mkDerivation {
pname = "arkenfox-userjs";
version = "master";
src = arkenfox-repo;
dontBuild = true;
installPhase = ''
mkdir -p $out/share/user-js/profiles
substituteInPlace prefsCleaner.sh \
--replace 'currdir=$(pwd)' 'currdir=$@'
cp {user.js,prefsCleaner.sh,updater.sh} $out/share/user-js/profiles
'';
meta = with lib; {
description = "Firefox privacy, security and anti-fingerprinting";
homepage = "https://github.com/arkenfox/user.js";
maintainers = [ ];
platforms = platforms.all;
license = licenses.mit;
};
}