mirror of
https://github.com/nmasur/dotfiles
synced 2026-08-15 17:58:36 +00:00
fix: firefox not using profile and preferences
This commit is contained in:
@@ -21,10 +21,19 @@ in
|
|||||||
"okta-browser-plugin"
|
"okta-browser-plugin"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.file."Library/Application Support/Firefox/installs.ini" = lib.mkIf pkgs.stdenv.isDarwin {
|
||||||
|
text = ''
|
||||||
|
[43AEB1562DAA8804]
|
||||||
|
Default=Profiles/default
|
||||||
|
Locked=1
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPath = ".mozilla/firefox";
|
|
||||||
package = pkgs.firefox;
|
package = pkgs.firefox;
|
||||||
|
# Use appropriate default path depending on the OS
|
||||||
|
configPath = if pkgs.stdenv.isDarwin then "Library/Application Support/Firefox" else ".mozilla/firefox";
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
id = 0;
|
id = 0;
|
||||||
name = "default";
|
name = "default";
|
||||||
|
|||||||
Reference in New Issue
Block a user