nixos-config/home/modules/firefox/mullvad-browser.nix
Felix Schröter e1a08c7246
All checks were successful
Test / tests (push) Successful in 13m10s
chore: upgrade to NixOS 25.11
2025-12-10 12:30:17 +01:00

32 lines
789 B
Nix

_:
let
mkFirefoxModuleCompat = import ./mkFirefoxModuleCompat.nix;
mkFirefoxProfileBinModule = import ./mkFirefoxProfileBinModule.nix;
modulePath = [
"programs"
"mullvad-browser"
];
name = "Mullvad Browser";
packageName = "mullvad-browser";
in
{
imports = [
(mkFirefoxModuleCompat {
inherit modulePath name;
description = "Privacy-focused browser made in a collaboration between The Tor Project and Mullvad";
unwrappedPackageName = packageName;
visible = true;
platforms.linux = rec {
vendorPath = ".mullvad";
configPath = "${vendorPath}/mullvadbrowser";
};
platforms.darwin = null;
})
(mkFirefoxProfileBinModule {
inherit modulePath name packageName;
isSecure = true;
})
];
}