rename unfree option, open firewall for steam local network transfer

This commit is contained in:
Vinzenz Schroeter 2024-10-27 10:42:23 +01:00
parent 5b19e487a5
commit 8a53ddb890
8 changed files with 60 additions and 23 deletions

View file

@ -100,19 +100,6 @@
hunspellDicts.en-us-large
];
nixpkgs.config.permittedInsecurePackages = [];
my.allowUnfreePackages = [
"insync"
"insync-pkg"
"rider"
"pycharm-professional"
"jetbrains-toolbox"
"anydesk"
];
fonts = {
enableDefaultPackages = true;
fontconfig.defaultFonts.monospace = ["FiraCode Nerd Font"];

View file

@ -34,16 +34,48 @@
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
};
gamemode.enable = true;
};
networking.firewall.allowedUDPPorts = [
# Factorio
34197
];
networking.firewall = {
allowedUDPPorts = [
# Factorio
34197
my.allowUnfreePackages = [
# steam network transfer
3478
];
allowedTCPPorts = [
# steam network transfer
24070
];
allowedTCPPortRanges = [
# steam network transfer
{
from = 27015;
to = 27050;
}
];
allowedUDPPortRanges = [
# steam network transfer
{
from = 4379;
to = 4380;
}
{
from = 27000;
to = 27100;
}
];
};
allowedUnfreePackages = [
"steam"
"steam-original"
"steam-run"

View file

@ -23,6 +23,6 @@
environment.systemPackages = with pkgs; [
nvtopPackages.intel
];
my.allowUnfreePackages = ["intel-ocl"];
allowedUnfreePackages = ["intel-ocl"];
};
}