Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions hosts/mhelton-fw13/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,21 @@
sbctl
slack
pkgs.gnomeExtensions.appindicator
gnome-network-displays
];
services.udev.packages = [ pkgs.gnome-settings-daemon ];

networking.firewall.trustedInterfaces = [ "p2p-wl+" ];

networking.firewall.allowedTCPPorts = [
7236
7250
];
networking.firewall.allowedUDPPorts = [
7236
5353
];

programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
Expand Down
13 changes: 13 additions & 0 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ let
};
});

gnome-network-displays = prev.gnome-network-displays.overrideAttrs (oldAttrs: {
postPatch = (oldAttrs.postPatch or "") + ''
# Find the nd-stream.c file and patch it
echo "Looking for nd-stream.c file..."
find . -name "nd-stream.c" -type f | while read -r file; do
echo "Found file at: $file"
substituteInPlace "$file" \
--replace "XDP_OUTPUT_MONITOR | XDP_OUTPUT_WINDOW | XDP_OUTPUT_VIRTUAL" \
"XDP_OUTPUT_MONITOR"
done
'';
});

pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(self: super: {
# skip additional tests that seem to require network access
Expand Down