This module should provide similar functionality to the firefox module in home-manager. Some notable differences between the two include: * home-manager configures a single browser. This means that any configuration that cannot be done on a per-profile basis is shared between all profiles. This module configures a new copy of the browser for every profile, ensuring that *all* configuration can be on a per-profile basis. This might be seen as insanity in a regular distro, but in NixOS this is trivial to do and requires no extra storage space. * home-manager modifies files in the user's directory to configure things such as extensions and search engines. This module avoids that when possible by pushing configuration into policies and preferences at a browser level. This is much nicer for impermanence-based systems.
18 lines
405 B
Nix
18 lines
405 B
Nix
args:
|
|
|
|
let
|
|
args' = args // {
|
|
inherit geckoLib;
|
|
};
|
|
|
|
geckoLib = {
|
|
bookmarks = import ./bookmarks.nix args';
|
|
extensions = import ./extensions.nix args';
|
|
policies = import ./policies.nix args';
|
|
prefs = import ./prefs.nix args';
|
|
profiles = import ./profiles.nix args';
|
|
search = import ./search.nix args';
|
|
site-settings = import ./site-settings.nix args';
|
|
};
|
|
in
|
|
geckoLib
|