39 lines
641 B
Nix
39 lines
641 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
extraPrefs = import ./extraPrefs.nix;
|
|
|
|
userChrome = import ./userChrome.nix;
|
|
|
|
my-firefox = (pkgs.firefox.override {
|
|
extraPrefs = extraPrefs;
|
|
});
|
|
|
|
in
|
|
|
|
{
|
|
default.browser = lib.mkDefault "firefox";
|
|
|
|
home-manager.users.${config.user} = {
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
package = my-firefox;
|
|
|
|
# import configuration
|
|
policies = import ./policy.nix;
|
|
|
|
# create profile for me :3
|
|
profiles.${config.user} = {
|
|
search = {
|
|
force = true;
|
|
default = "DuckDuckGo";
|
|
};
|
|
|
|
userChrome = userChrome;
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|