summary refs log tree commit diff
path: root/modules/software-templates/firefox-policy.nix
blob: 9e071930d3bc5ae4e508df416ed0dd72577d0ec6 (plain) (blame)
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
{
    AppAutoUpdate = false;
    BackgroundAppUpdate = false;
    BlockAboutAddons = false;
    BlockAboutConfig = false;
    BlockAboutProfiles = false;
    BlockAboutSupport = false;
    CaptivePortal = false;
    Cookies = {
        Block = import ../../data/domain_lists/airelle.nix;
        AcceptThirdParty = false;
        RejectTracker = true;
        Behavior = "reject-tracker";
    };
    DisableBuiltInPDFViewer = false;
    DisableFirefoxAccounts = true;
    DisableFeedbackCommands = true;
    DisableFirefoxStudies = true;
    DisableFirefoxScreenshots = true;
    DisablePocket = true;
    DisableSystemAddonUpdate = true;
    DisableTelemetry = true;
    DisplayBookmarksToolbar = "always";
    DisplayMenuBar = "always";
    DNSOverHTTPS = {
        Enabled = false;
    };
    DontCheckDefaultBrowser = true;
    EnableTrackingProtection = {
        Value = true;
        Cryptomining = true;
        Fingerprinting = true;
        EmailTracking = true;
    };
    EncryptedMediaExtensions = {
        Enabled = false;
    };
    Extensions = {
        Install = [
            "https://github.com/gorhill/uBlock/releases/download/1.52.2/uBlock0_1.52.2.firefox.signed.xpi"
        ];
    };
    ExtensionUpdate = false;
    FirefoxHome = {
        Snippets = false;
        TopSites = false;
        Highlights = false;
        Pocket = false;
        SponsoredTopSites = false;
        SponsoredPocket = false;
    };
    FirefoxSuggest = {
        ImproveSuggest = false;
        SponsoredSuggestions = false;
        WebSuggestions = false;
    };
    GoToIntranetSiteForSingleWordEntryInAddressBar = true;
    LocalFileLinks = [
        "file://"
        "https://*.rory.gay"
        "http://*.localhost"
        "http://localhost"
    ];
    PictureInPicture = false;
    SearchSuggestEnabled = false;
    UserMessaging = {
        WhatsNew = false;
        ExtensionRecommendations = false;
        UrlbarInterventions = false;
        SkipOnboarding = true;
        MoreFromMozilla = false;
        Locked = true;
    };
    WebsiteFilter = {
        Block = import ../../data/domain_lists/airelle.nix;
    };
    WindowsSSO = true;
}