aboutsummaryrefslogtreecommitdiff
path: root/share/home/firefox/default.nix
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-04-06 20:08:58 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-04-06 20:39:25 +0200
commit661d4964d99a0a5cbab358643c6a271422e0d001 (patch)
tree9ebc3d6316a1333a39b9817acb3753d8cdbfff7f /share/home/firefox/default.nix
parent1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff)
Programming Feng Shui praxis
Diffstat (limited to 'share/home/firefox/default.nix')
-rw-r--r--share/home/firefox/default.nix64
1 files changed, 0 insertions, 64 deletions
diff --git a/share/home/firefox/default.nix b/share/home/firefox/default.nix
deleted file mode 100644
index f47f955..0000000
--- a/share/home/firefox/default.nix
+++ /dev/null
@@ -1,64 +0,0 @@
-{ pkgs, ... }:
-let
- # Concatenate all files in the `./usercss` directory into one string
- css-files =
- map (n: ./usercss/${n}) (builtins.attrNames (builtins.readDir ./usercss));
- userChrome = builtins.concatStringsSep "\n" (map builtins.readFile css-files);
-in
-{
- home.sessionVariables.BROWSER = "firefox";
-
- programs.firefox = {
- enable = true;
- profiles = {
- alice = {
- name = "alice";
- isDefault = true;
- inherit userChrome;
-
- search = {
- default = "DuckDuckGo";
- engines = {
- "Nix Packages" = {
- urls = [{
- template = "https://search.nixos.org/packages";
- params = [
- {
- name = "type";
- value = "packages";
- }
- {
- name = "query";
- value = "{searchTerms}";
- }
- ];
- }];
-
- icon =
- "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
- definedAliases = [ "@np" ];
- };
-
- "NixOS Wiki" = {
- urls = [{
- template = "https://nixos.wiki/index.php?search={searchTerms}";
- }];
- iconUpdateURL = "https://nixos.wiki/favicon.png";
- updateInterval = 24 * 60 * 60 * 1000; # every day
- definedAliases = [ "@nw" ];
- };
-
- "Bing".metaData.hidden = true;
- # builtin engines only support specifying one additional alias
- "Google".medaData.alias = "@g";
- };
- }; # end of search
-
- settings = {
- "browser.compactmode.show" = true;
- "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
- };
- }; # end of alice (profile)
- }; # end of profiles
- };
-}