diff --git a/home-manager/modules/gaming.nix b/home-manager/modules/gaming.nix index ed51e3e..b0b8209 100644 --- a/home-manager/modules/gaming.nix +++ b/home-manager/modules/gaming.nix @@ -35,7 +35,7 @@ in home.packages = let - newwine = (pkgs.wineFull.override { wineBuild = "wineWow"; wineRelease = "staging"; }); + newwine = (pkgs.winePackages.full.override { wineBuild = "wineWow"; wineRelease = "staging"; }); newwinetricks = pkgs.winetricks.overrideAttrs (old: rec { pathAdd = "${newwine}/bin:" + old.pathAdd; postInstall = '' diff --git a/home-manager/users/notgne2.nix b/home-manager/users/notgne2.nix index 3617b6c..91b77e7 100644 --- a/home-manager/users/notgne2.nix +++ b/home-manager/users/notgne2.nix @@ -55,7 +55,7 @@ in } ]; - "nix.formatterPath" = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt"; + "nix.formatterPath" = "${pkgs.nixfmt}/bin/nixfmt"; "nix.serverPath" = "${pkgs.rnix-lsp}/bin/rnix-lsp"; "nix.enableLanguageServer" = true; diff --git a/modules/ezpw.nix b/modules/ezpw.nix index 99713ff..07ca417 100644 --- a/modules/ezpw.nix +++ b/modules/ezpw.nix @@ -174,8 +174,8 @@ in { pulseaudio ]; - environment.etc."wireplumber/main.lua.d/51-alsa-config.lua".text = - mkIf cfg.lowLatency '' + environment.etc."wireplumber/main.lua.d/51-alsa-config.lua" = + mkIf cfg.lowLatency { text = '' alsa_monitor.properties = { ["audio.rate"] = ${ toString (cfg.rate * (if cfg.usbSoundcard then 2 else 1)) @@ -184,7 +184,7 @@ in { ["api.alsa.headroom"] = 512, ["api.alsa.period-size"] = ${toString cfg.periodSize} } - ''; + ''; }; environment.etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = '' bluez_monitor.properties = { diff --git a/modules/workstation.nix b/modules/workstation.nix index f1f2c21..c08cf3c 100644 --- a/modules/workstation.nix +++ b/modules/workstation.nix @@ -234,6 +234,14 @@ in { } ]; + networking.firewall.allowedTCPPortRanges = [ + # Used for chromecast bullshit + { + from = 45000; + to = 47000; + } + ]; + networking.firewall.allowedTCPPorts = [ # Steam remote play 27036