[firefox] Move into user config
This commit is contained in:
		
							parent
							
								
									94781cecbf
								
							
						
					
					
						commit
						4166a54600
					
				
					 6 changed files with 69 additions and 75 deletions
				
			
		|  | @ -1,5 +0,0 @@ | |||
| { | ||||
|     imports = [ | ||||
|         ./firefox | ||||
|     ]; | ||||
| } | ||||
|  | @ -1,56 +0,0 @@ | |||
| { inputs, lib, config, pkgs, ... }: | ||||
| 
 | ||||
| { | ||||
|   home-manager.users.tdpeuter.programs.firefox = { | ||||
|     enable = true; | ||||
|     package = pkgs.firefox.override { | ||||
|       cfg = { | ||||
|         enableTridactylNative = true; | ||||
|         speechSynthesisSupport = true; # Allow Text-to-speech in e.g. Discord | ||||
|       }; | ||||
|       extraPolicies = { | ||||
|         DisableFirefoxStudies = true; | ||||
|         DisablePocket = true; | ||||
|         DisableTelemetry = true; | ||||
|         ExtensionSettings = {}; | ||||
|         OfferToSaveLogins = false; | ||||
|       }; | ||||
|     }; | ||||
|     profiles.tdpeuter = { | ||||
|       search = { | ||||
|         default = "DuckDuckGo"; | ||||
|         force = true; | ||||
|         engines = { | ||||
|           "Bing".metaData.hidden = true; | ||||
|           "eBay".metaData.hidden = true; | ||||
| 
 | ||||
|           "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" ]; | ||||
|           }; | ||||
|           "GitHub" = { | ||||
|             urls = [{ | ||||
|               template = "https://github.com/search"; | ||||
|               params = [ | ||||
|                 { name = "q"; value = "{searchTerms}"; } | ||||
|                 { name = "type"; value = "repositories"; } | ||||
|               ]; | ||||
|             }]; | ||||
| 
 | ||||
|             icon = "${pkgs.icosystem}/share/icons/icosystem/scalable/apps/github-mark.svg"; | ||||
|             definedAliases = [ "@gh" ]; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|              | ||||
|  | @ -1,10 +1,6 @@ | |||
| { inputs, lib, config, pkgs, ... }: | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
|     ./apps | ||||
|   ]; | ||||
|    | ||||
|   # Nix Flakes | ||||
|   nix.package = pkgs.nixFlakes; | ||||
|   nix.extraOptions = '' | ||||
|  | @ -13,13 +9,6 @@ | |||
|     keep-derivations = true | ||||
|   ''; | ||||
| 
 | ||||
|   fonts.fonts = with pkgs; [ | ||||
|     corefonts      # Calibri for Uni | ||||
|     vistafonts | ||||
| 
 | ||||
|     letter         # Personal font | ||||
|   ]; | ||||
| 
 | ||||
|   # Select internationalisation properties. | ||||
|   i18n.defaultLocale = "en_GB.UTF-8"; | ||||
|   console = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue