From 0f1d51c2463ee1ed918c47c9d694cb299a5c0384 Mon Sep 17 00:00:00 2001 From: Cookiez Date: Thu, 26 Mar 2026 10:07:36 +0100 Subject: [PATCH] Removed Zen Browser --- flake.lock | 45 +------------------------- flake.nix | 4 --- modules/home.nix | 70 ----------------------------------------- modules/stylix/home.nix | 1 - 4 files changed, 1 insertion(+), 119 deletions(-) diff --git a/flake.lock b/flake.lock index 7cb0d28..1d71ee7 100644 --- a/flake.lock +++ b/flake.lock @@ -261,27 +261,6 @@ "type": "github" } }, - "home-manager_2": { - "inputs": { - "nixpkgs": [ - "zen-browser", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1772330611, - "narHash": "sha256-UZjPc/d5XRxvjDbk4veAO4XFdvx6BUum2l40V688Xq8=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "58fd7ff0eec2cda43e705c4c0585729ec471d400", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, "niri": { "inputs": { "niri-stable": "niri-stable", @@ -558,8 +537,7 @@ "pam-fprint-grosshack": "pam-fprint-grosshack", "plasma-manager": "plasma-manager", "quickshell": "quickshell", - "stylix": "stylix", - "zen-browser": "zen-browser" + "stylix": "stylix" } }, "rust-analyzer-src": { @@ -757,27 +735,6 @@ "repo": "xwayland-satellite", "type": "github" } - }, - "zen-browser": { - "inputs": { - "home-manager": "home-manager_2", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1773290887, - "narHash": "sha256-L1yMYmFffHfZNP+hKJGRBmrFKkn/VDhu7jEbVftBQuM=", - "owner": "0xc000022070", - "repo": "zen-browser-flake", - "rev": "9346698c4562819f61b4e5097151ec0b17729fab", - "type": "github" - }, - "original": { - "owner": "0xc000022070", - "repo": "zen-browser-flake", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 982f262..7f3cbce 100644 --- a/flake.nix +++ b/flake.nix @@ -15,9 +15,6 @@ inputs.home-manager.follows = "home-manager"; }; - zen-browser.url = "github:0xc000022070/zen-browser-flake"; - zen-browser.inputs.nixpkgs.follows = "nixpkgs"; - #stylix.url = "github:nix-community/stylix/"; stylix.url = "github:nix-community/stylix/master"; #Had to use branch or it would not build corrently stylix.inputs.nixpkgs.follows = "nixpkgs"; @@ -61,7 +58,6 @@ nixos-hardware, stylix, niri, - zen-browser, grub2-themes, nix-flatpak, ... diff --git a/modules/home.nix b/modules/home.nix index 54e31f1..045432a 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -28,9 +28,6 @@ ]; imports = [ - inputs.zen-browser.homeModules.beta - # or inputs.zen-browser.homeModules.twilight - # or inputs.zen-browser.homeModules.twilight-official #./neovim-home.nix ./desktop-entries.nix ]; @@ -78,72 +75,5 @@ }; }; }; - - zen-browser = { - enable = false; - #package = inputs.zen-browser.packages.${pkgs.system}.default; - profiles = { - ${username} = { - id = 0; - name = username; - # profileAvatarPath = "chrome://browser/content/zen-avatars/avatar-57.svg"; - path = "${username}.default"; - isDefault = true; - settings = { - }; - }; - }; - policies = { - AutofillAddressEnabled = false; - AutofillCreditCardEnabled = false; - PasswordManagerEnabled = false; - NoDefaultBookmarks = true; - DisableAppUpdate = true; - DisableFirefoxStudies = true; - DontCheckDefaultBrowser = true; - EnableTrackingProtection = { - Value = true; - Locked = true; - Cryptomining = true; - Fingerprinting = true; - }; - OfferToSaveLogins = false; - DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab" - - ExtensionSettings = with builtins; let - extension = shortId: uuid: { - name = uuid; - value = { - install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi"; - installation_mode = "force_installed"; - }; - }; - in - listToAttrs [ - (extension "ublock-origin" "uBlock0@raymondhill.net") - (extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}") - #(extension "2fas-two-factor-authentication" "admin@2fas.com") - (extension "sponsorblock" "sponsorBlocker@ajay.app") - #(extension "dearrow" "deArrow@ajay.app") - #(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org") - #(extension "tabliss" "extension@tabliss.io") - #(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist") - #(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}") - #(extension "react-devtools" "@react-devtools") - (extension "keepa" "amptra@keepa.com") - (extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com") - ]; - # To add additional extensions, find it on addons.mozilla.org, find - # the short ID in the url (like https=//addons.mozilla.org/en-US/firefox/addon/!SHORT_ID!/) - # Then, download the XPI by filling it in to the install_url template, unzip it, - # run `jq .browser_specific_settings.gecko.id manifest.json` or - # `jq .applications.gecko.id manifest.json` to get the UUID - Preferences = { - #"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; }; - "browser.urlbar.showSearchSuggestionsFirst" = false; - "browser.sessionstore.resume_session_once" = false; - }; - }; - }; }; #End of programs = {}; } diff --git a/modules/stylix/home.nix b/modules/stylix/home.nix index 4d72616..a90145a 100644 --- a/modules/stylix/home.nix +++ b/modules/stylix/home.nix @@ -21,7 +21,6 @@ qt.enable = true; qt.platform = "kde"; #kde.enable = false; - zen-browser.profileNames = ["${username}"]; }; }; }