diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2025-02-10 14:03:14 -0600 |
|---|---|---|
| committer | ozpv <39195175+ozpv@users.noreply.github.com> | 2025-02-10 14:03:14 -0600 |
| commit | 02d5fd082b045e257698ec63c9a52c063eae6a06 (patch) | |
| tree | 92c00ce970a07dbba3cbba4260c56f2c550a282c | |
| parent | 77f9ed500295fc9d4f2a5696bf029a070856494b (diff) | |
update firefox config
| -rw-r--r-- | apps/firefox.nix | 2 | ||||
| -rw-r--r-- | configuration.nix | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/apps/firefox.nix b/apps/firefox.nix index 6a974c0..c1d86a4 100644 --- a/apps/firefox.nix +++ b/apps/firefox.nix @@ -192,7 +192,7 @@ "media.autoplay.enabled" = false; "media.eme.enabled" = false; "media.gmp-widevinecdm.enabled" = false; - "media.navigator.enabled" = false; + "media.navigator.enabled" = true; "media.peerconnection.enabled" = false; "media.peerconnection.ice.proxy_only_if_behind_prox" = true; "media.peerconnection.ice.default_address_only" = true; diff --git a/configuration.nix b/configuration.nix index 564e8fa..88dee17 100644 --- a/configuration.nix +++ b/configuration.nix @@ -32,7 +32,8 @@ dhcpcd.extraConfig = "nohook resolv.conf"; hostName = "nixos"; # Define your hostname. wireless.enable = false; # Enables wireless support via wpa_supplicant. - firewall.enable = true; + firewall.enable = true; + firewall.allowedTCPPorts = [ 80 3000 ]; }; # touchpad @@ -168,6 +169,7 @@ brightnessctl discord vim + networkmanagerapplet (st.overrideAttrs { src = fetchGit { url = "https://github.com/ozpv/st.git"; @@ -252,12 +254,6 @@ # Enable the OpenSSH daemon. # services.openssh.enable = true; - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave |
