diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-08 13:15:45 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-08 13:15:45 +0530 |
| commit | 653b19aa1e732f56453db383504fe8a5438bda5a (patch) | |
| tree | 5681f12f0b1c8086e03abcf5577ca6c191d917d1 /modules/firefox.home/default.nix | |
| parent | 168884c4515b77f946b76b55fce207e13ceb217c (diff) | |
| download | nixos-config-653b19aa1e732f56453db383504fe8a5438bda5a.tar.gz nixos-config-653b19aa1e732f56453db383504fe8a5438bda5a.zip | |
Enable firefox
Diffstat (limited to 'modules/firefox.home/default.nix')
| -rw-r--r-- | modules/firefox.home/default.nix | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/modules/firefox.home/default.nix b/modules/firefox.home/default.nix index 208d2e7..0d53fe9 100644 --- a/modules/firefox.home/default.nix +++ b/modules/firefox.home/default.nix @@ -1,10 +1,11 @@ { config, pkgs, lib, ... }: let - unwrappedFirefoxPackage = pkgs.firefox-devedition-unwrapped; - - firefoxBinName = "firefox-devedition"; - + unwrappedFirefoxPackage = pkgs.firefox-unwrapped; + firefoxBinName = "firefox"; configDir = ".mozilla/firefox"; + # unwrappedFirefoxPackage = pkgs.librewolf-unwrapped; + # firefoxBinName = "librewolf"; + # configDir = ".config/librewolf/librewolf"; extensions = [ "https://addons.mozilla.org/firefox/downloads/file/3792127/firefox_dracula-1.0.xpi" @@ -36,10 +37,8 @@ let profilePath = "default"; in { programs.firefox = { - enable = false; + enable = true; package = firefox; - - # nativeMessagingHosts = [ pkgs.tridactyl-native ]; policies = policies; }; @@ -48,18 +47,11 @@ in { ] else []; home.file = if config.programs.firefox.enable then { - # ".config/tridactyl".source = ./tridactyl; - "${configDir}/${profilePath}/chrome".source = ./chrome; "${configDir}/profiles.ini".text = lib.generators.toINI {} { - Profile1 = { - Name = "default"; - IsRelative = 1; - Path = profilePath; - }; Profile0 = { - Name = "dev-edition-default"; + Name = "default"; Default = 1; IsRelative = 1; Path = profilePath; |
