Compare commits

..

No commits in common. "9660522100d4ab5d1d33b0893759dbcf79057a20" and "ce7c924944232f3a3f504118d20d0e425d19f4bb" have entirely different histories.

3 changed files with 20 additions and 14 deletions

View file

@ -217,11 +217,24 @@
name: "*" name: "*"
state: latest # noqa: package-latest state: latest # noqa: package-latest
# Install a policy file to force Firefox to use encrypted DNS # Install a policy file to force Firefox to use encrypted DNS
- name: Create Firefox DNS policy - name: Create Firefox DNS policy, line 1
ansible.builtin.template: ansible.builtin.lineinfile:
src: templates/policies.json path: /usr/lib64/firefox/defaults/pref/autoconfig.js
dest: /etc/firefox/policies/policies.json
mode: "644" mode: "644"
create: true
line: lockPref("network.trr.mode", 3);
- name: Create Firefox DNS policy, line 1
ansible.builtin.lineinfile:
path: /usr/lib64/firefox/defaults/pref/autoconfig.js
mode: "644"
create: true
line: lockPref("network.trr.url", "{{ dns_server }}");
- name: Create Firefox DNS policy, line 1
ansible.builtin.lineinfile:
path: /usr/lib64/firefox/defaults/pref/autoconfig.js
mode: "644"
create: true
line: lockPref("network.trr.custom_uri", "{{ dns_server }}");
# Generally speaking, I try to install Flatpak applications at the user level # Generally speaking, I try to install Flatpak applications at the user level
# b/c that really gives more credence to the whole sandboxing idea (concept of # b/c that really gives more credence to the whole sandboxing idea (concept of

View file

@ -237,6 +237,9 @@
"extensions.formautofill.addresses.enabled" = false; "extensions.formautofill.addresses.enabled" = false;
"extensions.formautofill.creditCards.enabled" = false; "extensions.formautofill.creditCards.enabled" = false;
"extensions.autoDisableScopes" = 0; "extensions.autoDisableScopes" = 0;
"network.trr.mode" = 3; # DNS over HTTPS always
"network.trr.uri" = "https://family.dns.mullvad.net/dns-query";
"network.trr.custom_uri" = "https://family.dns.mullvad.net/dns-query";
"privacy.bounceTrackingProtection.mode" = 1; "privacy.bounceTrackingProtection.mode" = 1;
"privacy.clearOnShutdown_v2.browsingHistoryAndDownloads" = false; "privacy.clearOnShutdown_v2.browsingHistoryAndDownloads" = false;
"privacy.clearOnShutdown_v2.cache" = true; "privacy.clearOnShutdown_v2.cache" = true;

View file

@ -1,10 +0,0 @@
{
"policies": {
"DNSOverHTTPS": {
"Enabled": true,
"ProviderURL": "{{ dns_server }}",
"Locked": true,
"Fallback": false
}
}
}