added satisfactory server to flake

This commit is contained in:
Gabriella Bere 2024-09-13 15:14:45 +01:00
parent a6aa3085e0
commit 16ca8d5bac
4 changed files with 54 additions and 1 deletions

43
flake.lock generated
View file

@ -361,9 +361,31 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixvim": "nixvim", "nixvim": "nixvim",
"satisfactory-server": "satisfactory-server",
"stablepkgs": "stablepkgs" "stablepkgs": "stablepkgs"
} }
}, },
"satisfactory-server": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"steam-fetcher": "steam-fetcher"
},
"locked": {
"lastModified": 1725982284,
"narHash": "sha256-j4YSMeRFW5RgHHQz4lrCPpDjaVmiH2s1fBvNscVVULk=",
"owner": "nekowinston",
"repo": "satisfactory-server-flake",
"rev": "69823687f0e16932c8ca5730b5265aed50af7463",
"type": "github"
},
"original": {
"owner": "nekowinston",
"repo": "satisfactory-server-flake",
"type": "github"
}
},
"stablepkgs": { "stablepkgs": {
"locked": { "locked": {
"lastModified": 1725001927, "lastModified": 1725001927,
@ -380,6 +402,27 @@
"type": "github" "type": "github"
} }
}, },
"steam-fetcher": {
"inputs": {
"nixpkgs": [
"satisfactory-server",
"nixpkgs"
]
},
"locked": {
"lastModified": 1714795926,
"narHash": "sha256-PkgC9jqoN6cJ8XYzTA2PlrWs7aPJkM3BGiTxNqax0cA=",
"owner": "nix-community",
"repo": "steam-fetcher",
"rev": "12f66eafb7862d91b3e30c14035f96a21941bd9c",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "steam-fetcher",
"type": "github"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,

View file

@ -64,6 +64,7 @@
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.satisfactory-server.nixosModules.satisfactory inputs.satisfactory-server.nixosModules.satisfactory
./hosts/biggerpi/configuration.nix ./hosts/biggerpi/configuration.nix
./modules/satisfactory-server.nix
]; ];
}; };

View file

@ -192,8 +192,9 @@
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
43391 # used to forward minecraft traffic to minecraft.gabbie.blue:33991 43391 # used to forward minecraft traffic to minecraft.gabbie.blue:33991
4455 # used for OBS websocket 4455 # used for OBS websocket
7777 # used for Satisfactory Server
]; ];
# networking.firewall.allowedUDPPorts = [ ... ]; networking.firewall.allowedUDPPorts = [ 7777 ];
# networking.firewall.allowedTCPPortRanges = [ # networking.firewall.allowedTCPPortRanges = [
# { # {
# from = 49000; # from = 49000;

View file

@ -0,0 +1,8 @@
{ config, pkgs, ... }: {
services.satisfactory = {
enable = true;
openFirewall = true;
};
}