summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/firefox.nix2
-rw-r--r--configuration.nix10
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