Compare commits
No commits in common. "b37df94d27b7e2d0b54a1335aafa5ffd38cf6b09" and "fc8b92f2e67074f9156a05ea54db2567c7587bb5" have entirely different histories.
b37df94d27
...
fc8b92f2e6
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
# pass in the urls defined above
|
# pass in the urls defined above
|
||||||
# the @ syntax stores the arguments in the inputs variable
|
# the @ syntax stores the arguments in the inputs variable
|
||||||
outputs = {
|
outputs = inputs @ {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
|
@ -36,12 +36,9 @@
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
nur,
|
nur,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
}: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
overlays = [
|
|
||||||
nur.overlay
|
|
||||||
];
|
|
||||||
in {
|
in {
|
||||||
formatter.${system} = pkgs.alejandra;
|
formatter.${system} = pkgs.alejandra;
|
||||||
|
|
||||||
|
@ -81,7 +78,6 @@
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
|
extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
|
||||||
modules = [
|
modules = [
|
||||||
{ nixpkgs.overlays = overlays; }
|
|
||||||
./users/tacocat/home.nix
|
./users/tacocat/home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,101 +1,11 @@
|
||||||
{pkgs, ...}: {
|
{inputs, ...}: {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.firefox.override {
|
|
||||||
extraPolicies = {
|
|
||||||
DisableAppUpdate = true;
|
|
||||||
DisableFirefoxAccounts = false;
|
|
||||||
DisableFirefoxStudies = true;
|
|
||||||
DisablePocket = true;
|
|
||||||
DisableTelemetry = true;
|
|
||||||
DontCheckDefaultBrowser = true;
|
|
||||||
EnableTrackingProtection = true;
|
|
||||||
NoDefaultBookmarks = true;
|
|
||||||
OfferToSaveLogins = false;
|
|
||||||
OfferToSaveLoginsDefault = false;
|
|
||||||
PasswordManagerEnabled = false;
|
|
||||||
FirefoxHome = {
|
|
||||||
Search = true;
|
|
||||||
Pocket = false;
|
|
||||||
Snippets = false;
|
|
||||||
TopSites = false;
|
|
||||||
Highlights = false;
|
|
||||||
};
|
|
||||||
UserMessaging = {
|
|
||||||
ExtensionRecommendations = false;
|
|
||||||
SkipOnboarding = true;
|
|
||||||
};
|
|
||||||
Cookies = {
|
|
||||||
ExpireAtSessionEnd = true;
|
|
||||||
RejectTracker = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
profiles = {
|
profiles = {
|
||||||
"aria" = {
|
"aria" = {
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with inputs.nur.repos.rycee.firefox-addons; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
bitwarden
|
|
||||||
canvasblocker
|
|
||||||
aria2-integration
|
|
||||||
sponsorblock
|
|
||||||
xbrowsersync
|
|
||||||
];
|
];
|
||||||
settings = {
|
|
||||||
"browser.aboutConfig.showWarning" = false;
|
|
||||||
"browser.startup.page" = 1;
|
|
||||||
"geo.provider.network.url" = "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%";
|
|
||||||
"intl.accept_languages" = "en-US, en";
|
|
||||||
"app.update.auto" = false;
|
|
||||||
"browser.download.useDownloadDir" = false;
|
|
||||||
"browser.download.manager.addToRecentDocs" = false;
|
|
||||||
};
|
|
||||||
search = {
|
|
||||||
default = "Celtic Lite";
|
|
||||||
engines = {
|
|
||||||
"Nix Packages" = {
|
|
||||||
urls = [
|
|
||||||
{
|
|
||||||
template = "https://search.nixos.org/packages";
|
|
||||||
params = [
|
|
||||||
{
|
|
||||||
name = "type";
|
|
||||||
value = "packages";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "channel";
|
|
||||||
value = "unstable";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "query";
|
|
||||||
value = "{searchTerms}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = ["@np"];
|
|
||||||
};
|
|
||||||
"Celtic Lite" = {
|
|
||||||
urls = [
|
|
||||||
{
|
|
||||||
template = "https://search.celticlite.com/search";
|
|
||||||
params = [
|
|
||||||
{
|
|
||||||
name = "q";
|
|
||||||
value = "{searchTerms}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
definedAliases = ["@cl"];
|
|
||||||
};
|
|
||||||
"Google".metaData.hidden = true;
|
|
||||||
"Amazon.com".metaData.hidden = true;
|
|
||||||
"Bing".metaData.hidden = true;
|
|
||||||
"eBay".metaData.hidden = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue