Compare commits

..

No commits in common. "e3fc26134e475ecc97490af3b06150657066d023" and "0bfd4cd84b6436aa9fb10df9d356d8a596db801c" have entirely different histories.

4 changed files with 18 additions and 52 deletions

View file

@ -3,7 +3,7 @@
(url "https://git.savannah.gnu.org/git/guix.git") (url "https://git.savannah.gnu.org/git/guix.git")
(branch "master") (branch "master")
(commit (commit
"abc3eb33191b9df5e6e44462501606f5e0dd3a92") "07cd046c209f192032b425d2ee44f6025bff63a1")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad" "9edb3f66fd807b096b48283debdcddccfea34bad"
@ -14,7 +14,7 @@
(url "https://gitlab.com/nonguix/nonguix.git") (url "https://gitlab.com/nonguix/nonguix.git")
(branch "master") (branch "master")
(commit (commit
"99574ff94b6fb97794ba720b6fdadf470963dbdc") "3b78eca656cf8a088ca8699a0563e67e2b61f2ac")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc" "897c1a470da759236cc11798f4e0a5f7d4d59fbc"

View file

@ -60,11 +60,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1731684989, "lastModified": 1730651795,
"narHash": "sha256-FQdoHR4vqYZlk2qp1jD3rtKufseLiPFr8rctGNY0d5Y=", "narHash": "sha256-XGYmN3WdyGU8FasWLPjL1Yvm9L9GJ0h62fMgCOPyvo0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1c6112d535e8f51e40d8f68eb0565afb2944ebba", "rev": "5012ef7926747f739c65bd2e1ceff96da30fb3b8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -8,44 +8,11 @@
Value = true; Value = true;
Status = "locked"; Status = "locked";
}; };
nixGL = import ./nixGL.nix { inherit pkgs nixgl; };
in in
{ {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.firefox.override {
extraPrefs = ''
//
// Automatically click cookiebanners although uBlock Origin might block them
lockPref("cookiebanners.bannerClicking.enabled", true);
lockPref("cookiebanners.service.mode", 2);
lockPref("cookiebanners.service.mode.privateBrowsing", 2);
// DNT although PrivacyBadger from policy handles this
lockPref("privacy.donottrackheader.enabled", true);
lockPref("privacy.donottrackheader.value", 1);
// Fingerprinting
lockPref("privacy.fingerprintingProtection", true);
pref(
"privacy.fingerprintingProtection.overrides",
"+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent",
);
lockPref("privacy.fingerprintingProtection.pbmode", true);
lockPref("privacy.resistFingerprinting", false);
lockPref("privacy.resistFingerprinting.block_mozAddonManage", true);
lockPref("privacy.resistFingerprinting.letterboxing", false);
clearPref("privacy.resistFingerprinting.pbmode");
// New sidebar
lockPref("sidebar.revamp", true);
lockPref("sidebar.verticalTabs", true);
lockPref("sidebar.visibility", "always-show");
lockPref("sidebar.main.tools", "");
//
'';
};
policies = { policies = {
EnableTrackingProtection = { EnableTrackingProtection = {
@ -114,7 +81,7 @@
# Start Page # Start Page
Homepage = { Homepage = {
StartPage = "previous-session"; StartPage = "previous-session";
Locked = true; Loked = true;
}; };
# Home Page # Home Page
@ -219,10 +186,6 @@
Value = "firefox-compact-dark@mozilla.org"; Value = "firefox-compact-dark@mozilla.org";
Status = "locked"; Status = "locked";
}; };
"layout.css.prefers-color-scheme.content-override" = {
Value = 0;
Status = "locked";
};
# homepage # homepage
"browser.startup.homepage" = { "browser.startup.homepage" = {
Value = " about:home"; Value = " about:home";
@ -280,13 +243,6 @@
"browser.newtabpage.activity-stream.showSponsored" = lock-false; "browser.newtabpage.activity-stream.showSponsored" = lock-false;
"browser.newtabpage.activity-stream.system.showSponsored" = lock-false; "browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false; "browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
"browser.newtabpage.activity-stream.showWeather" = lock-false;
"browser.newtabpage.activity-stream.newtabWallpapers.enabled" = lock-false;
"browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled" = lock-false;
"browser.newtabpage.activity-stream.default.sites" = {
Value = "";
Status = "locked";
};
# safebrowsing # safebrowsing
"browser.safebrowsing.malware.enabled" = lock-true; "browser.safebrowsing.malware.enabled" = lock-true;
"browser.safebrowsing.phishing.enabled" = lock-true; "browser.safebrowsing.phishing.enabled" = lock-true;
@ -300,6 +256,16 @@
}; };
"browser.tabs.warnOnClose" = lock-true; "browser.tabs.warnOnClose" = lock-true;
"browser.tabs.firefox-view" = lock-false; "browser.tabs.firefox-view" = lock-false;
"sidebar.revamp" = {
Comment = "Preference not allowed for stability reasons.";
Status = "default";
Type = "boolean";
Value = true;
};
"sidebar.main.tools" = {
Value = "";
Status = "locked";
};
"browser.tabs.closeTabByDblclick" = lock-true; "browser.tabs.closeTabByDblclick" = lock-true;
"ui.key.menuAccessKeyFocuses" = lock-false; "ui.key.menuAccessKeyFocuses" = lock-false;
# general settings # general settings

View file

@ -324,7 +324,7 @@
(define-public %base-freya-operating-system (define-public %base-freya-operating-system
(operating-system (operating-system
(kernel linux) (kernel linux-6.11)
(firmware %base-freya-firmware) (firmware %base-freya-firmware)
(locale "en_US.UTF-8") (locale "en_US.UTF-8")
(locale-definitions %base-freya-locale) (locale-definitions %base-freya-locale)