GOING TO BED
This commit is contained in:
parent
2250f28172
commit
f7ca6ff687
3 changed files with 50 additions and 34 deletions
|
@ -1,45 +1,39 @@
|
|||
{ config, pkgs, ... }: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox.override {
|
||||
cfg = {
|
||||
CaptivePortal = false;
|
||||
DisableFirefoxStudies = true;
|
||||
DisablePocket = true;
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxAccounts = false;
|
||||
NoDefaultBookmarks = true;
|
||||
OfferToSaveLogins = false;
|
||||
OfferToSaveLoginsDefault = false;
|
||||
PasswordManagerEnabled = false;
|
||||
FirefoxHome = {
|
||||
Search = true;
|
||||
Pocket = false;
|
||||
Snippets = false;
|
||||
TopSites = false;
|
||||
Highlights = false;
|
||||
};
|
||||
UserMessaging = {
|
||||
ExtensionRecommendations = false;
|
||||
SkipOnboarding = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
profiles.default = {
|
||||
isDefault = true;
|
||||
name = "default";
|
||||
settings = {
|
||||
"extension.pocket.enabled" = "false";
|
||||
"toolkit.telemetry.pioneer-new-studies-availble" = "false";
|
||||
"datareporting.healthreport.uploadEnabled" = "false";
|
||||
"datareporting.healthreport.infoURL" = "null";
|
||||
"toolkit.telemetry.server" = "null";
|
||||
"browser.newtabpage.activity-stream.feeds.telemetry" = "false";
|
||||
"browser.newtabpage.activity-stream.telemetry" = "false";
|
||||
"browser.ping-centre.telemetry" = "false";
|
||||
"toolkit.telemetry.enabled" = "false";
|
||||
"toolkit.telemetry.firstShutdownPing.enabled" = "false";
|
||||
"toolkit.telemetry.hybridContent.enabled" = "false";
|
||||
"toolkit.telemetry.newProfilePing.enabled" = "false";
|
||||
"toolkit.telemetry.shutdownPingSender.enabled" = "false";
|
||||
"toolkit.telemetry.updatePing.enabled" = "false";
|
||||
"toolkit.telemetry.reportingpolicy.firstRun" = "false";
|
||||
"toolkit.telemetry.unified" = "false";
|
||||
"toolkit.telemetry.archive.enabled" = "false";
|
||||
"devtools.onboarding.telemetry.logged" = "false";
|
||||
"toolkit.telemetry.bhrPing.enabled" = "false";
|
||||
"datareporting.policy.dataSubmissionEnabled" = "false";
|
||||
"datareporting.sessions.current.clean" = "true";
|
||||
"browser.startup.homepage" = "https://searx.sysctl.io";
|
||||
"browser.search.region" = "US";
|
||||
"browser.search.isUS" = false;
|
||||
"distribution.searchplugins.defaultLocale" = "en-US";
|
||||
"general.useragent.locale" = "en-US";
|
||||
"browser.bookmarks.showMobileBookmarks" = false;
|
||||
"browser.newtabpage.pinned" = [{
|
||||
title = "Blank";
|
||||
url = "about:blank";
|
||||
}];
|
||||
"browser.bookmarks.showMobileBookmarks" = "false";
|
||||
"browser.newtabpage.enabled" = "false";
|
||||
"services.sync.prefs.sync.browser.newtabpage.enabled" = "false";
|
||||
};
|
||||
search.default = "DuckDuckGo";
|
||||
search.force = true;
|
||||
|
|
16
flake.lock
16
flake.lock
|
@ -122,6 +122,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"moz_overlay": {
|
||||
"locked": {
|
||||
"lastModified": 1687771476,
|
||||
"narHash": "sha256-TSpqz6qYVRoqkEdOCawEQ4/cWt/4pracmvw17HK1tgE=",
|
||||
"owner": "mozilla",
|
||||
"repo": "nixpkgs-mozilla",
|
||||
"rev": "3a44b8783514e7d6db4b63df96071b6c2b014b07",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "mozilla",
|
||||
"repo": "nixpkgs-mozilla",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1688109178,
|
||||
|
@ -188,6 +203,7 @@
|
|||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"lanzaboote": "lanzaboote",
|
||||
"moz_overlay": "moz_overlay",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
|
|
10
flake.nix
10
flake.nix
|
@ -16,11 +16,13 @@
|
|||
# Secureboot Configuration
|
||||
lanzaboote.url = "github:nix-community/lanzaboote";
|
||||
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# Firefox Overlay
|
||||
moz_overlay.url = "github:mozilla/nixpkgs-mozilla";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, lanzaboote, ... }@inputs:
|
||||
outputs = { nixpkgs, home-manager, lanzaboote, moz_overlay, ... }@inputs:
|
||||
let
|
||||
|
||||
# Variables - Remember to set these
|
||||
hostname = "nixos-laptop";
|
||||
system = "x86_64-linux";
|
||||
|
@ -56,6 +58,10 @@
|
|||
home-manager.useUserPackages = true;
|
||||
home-manager.users.albert = import ./users/albert/home.nix;
|
||||
home-manager.users.root = import ./users/root/home.nix;
|
||||
# nixpkgs overlays
|
||||
nixpkgs.overlays = [
|
||||
moz_overlay.overlay
|
||||
];
|
||||
}
|
||||
]; # modules
|
||||
}; # lib.nixosSystem - nixos-laptop
|
||||
|
|
Loading…
Reference in a new issue