Skip to content

Commit

Permalink
updated browser settings
Browse files Browse the repository at this point in the history
  • Loading branch information
heywoodlh committed Oct 15, 2024
1 parent a6e10a9 commit 06708dc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions darwin/roles/defaults.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ in {
};
# Apple firewall config:
alf = {
globalstate = 0; #Disabled until https://www.reddit.com/r/MacOS/comments/1fihlge/comment/lnngp9n
globalstate = 2;
loggingenabled = 0;
stealthenabled = 0; #Disabled until https://www.reddit.com/r/MacOS/comments/1fihlge/comment/lnngp9n
stealthenabled = 1;
};
loginwindow = {
GuestEnabled = false;
Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@
enable = true;
homebrew = true;
};
stage-manager.enable = true;
};

system.stateVersion = darwinStateVersion;
Expand Down
2 changes: 1 addition & 1 deletion home/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let
#browser = if system == "aarch64-linux" then "firefox" else "mullvad-browser";
browser = "firefox";
noproxies = "localhost,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,100.64.0.0/10,.ts.net";
socksProxy = "nix-nvidia.barn-banana.ts.net";
socksProxy = "10.64.0.1";
socksPort = 1080;
firefoxsvg = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/bmFtZQ/edge-frfox/b1146cf31900fc8d1f424339c321f686b5ea5594/chrome/icons/firefox.svg";
Expand Down
9 changes: 7 additions & 2 deletions nixos/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,16 @@ in {
};
networking.firewall = {
interfaces.tailscale0.allowedTCPPortRanges = [ { from = 1714; to = 1764; } { from = 3131; to = 3131;} ];
interfaces.tailscale0.allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
interfaces.tailscale0.allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
};

# Enable Tailscale
services.tailscale.enable = true;
services.tailscale = {
enable = true;
extraSetFlags = [
"--accept-routes"
];
};

# Configure keymap in X11
services.xserver.xkb = {
Expand Down

0 comments on commit 06708dc

Please sign in to comment.