summaryrefslogtreecommitdiff
path: root/home-config/nix-home-manager/firefox-nightly/policies.nix
blob: 136b8b9b8c89c4d9b3276791944e763125e81f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
let
    lock-false = {
        Value = false;
        Status = "locked";
    };
    lock-true = {
        Value = true;
        Status = "locked";
    };
in
{

EnableTrackingProtection = {
    Value = true;
    Locked = true;
    Cryptomining = true;
    Fingerprinting = true;
    EmailTracking = true;
};
UserMessaging = {
    WhatsNew = false;
    ExtensionRecommendations = false;
    FeatureRecommendations = false;
    UrlbarInterventions = false;
    SkipOnboarding = true;
    MoreFromMozilla = false;
    Labs = false;
    Locked = true;
};
DisableAppUpdate = true;
DisableAccounts = true;
DisableFirefoxAccounts = true;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
DisableMasterPasswordCreation = true;
PasswordManagerEnabled = false;
PrimaryPassword = false;
OfferToSaveLogins = false;
NoDefaultBookmarks = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
FirefoxHome = {
    Search = true;
    TopSites = true;
    SponsoredTopSites = false;
    Highlights = false;
    Pocket = false;
    SponsoredPocket = false;
    Snippets = false;
    Locked = true;
};
SearchSuggestEnabled = true;
FirefoxSuggest = {
    WebSuggestions = true;
    SponsoredSuggestions = false;
    ImproveSuggest = false;
    Locked = true;
};
PictureInPicture = lock-true;
HardwareAcceleration = true;
Certificates = {
    ImportEnterpriseRoots = true;
};
ExtensionSettings = {
#"*".installation_mode = "blocked";
# uBlock Origin
    "uBlock0@raymondhill.net" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
        installation_mode = "force_installed";
    };
# Bitwarden
    "{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
        installation_mode = "normal_installed";
    };
# SponsorBlock
    "sponsorBlocker@ajay.app" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
        installation_mode = "force_installed";
    };
# DeArrow
    "deArrow@ajay.app" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/dearrow/latest.xpi";
        installation_mode = "force_installed";
    };
# Return Youtube Dislike
    "{762f9885-5a13-4abd-9c77-433dcd38b8fd}" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/return-youtube-dislikes/latest.xpi";
        installation_mode = "force_installed";
    };
# Youtube Nonstop
    "{0d7cafdd-501c-49ca-8ebb-e3341caaa55e}" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/youtube-nonstop/latest.xpi";
        installation_mode = "force_installed";
    };
# Sidebery
    "{3c078156-979c-498b-8990-85f7987dd929}" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/sidebery/latest.xpi";
        installation_mode = "normal_installed";
    };
# TamperMonkey
    "firefox@tampermonkey.net" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/tampermonkey/latest.xpi";
        installation_mode = "force_installed";
    };
# Floccus
    "floccus@handmadeideas.org" = {
        install_url = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
        installation_mode = "force_installed";
    };
};
Preferences = {
    "browser.startup.homepage" = "https://d.in.rschanz.org";
    "extensions.activeThemeID" = {
        Value = "firefox-compact-dark@mozilla.org";
        Status = "locked";
    };
    "toolkit.legacyUserProfileCustomizations.stylesheets" = lock-true;
    "xpinstall.whitelist.required" = lock-true;
    "dom.webgpu.enabled" = lock-true;
    "media.eme.enabled" = lock-true;
    "general.autoScroll" = lock-true;
    "general.smoothScroll" = lock-true;
    "browser.crashReports.unsubmittedCheck.autoSubmit2" = lock-false;
    "browser.aboutConfig.showWarning" = lock-false;
};
}