source dedicated server shenangans
This commit is contained in:
Generated
+58
-1
@@ -257,7 +257,7 @@
|
||||
},
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
@@ -907,6 +907,22 @@
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1739419412,
|
||||
"narHash": "sha256-NCWZQg4DbYVFWg+MOFrxWRaVsLA7yvRWAf6o0xPR1hI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2d55b4c1531187926c2a423f6940b3b1301399b5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1677063315,
|
||||
"narHash": "sha256-qiB4ajTeAOVnVSAwCNEEkoybrAlA+cpeiBxLobHndE8=",
|
||||
@@ -1137,6 +1153,7 @@
|
||||
"nvf": "nvf",
|
||||
"slippi": "slippi",
|
||||
"sops-nix": "sops-nix",
|
||||
"srcds-nix": "srcds-nix",
|
||||
"stylix": "stylix",
|
||||
"vpn-confinement": "vpn-confinement",
|
||||
"watershot": "watershot"
|
||||
@@ -1253,6 +1270,25 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"srcds-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1739576881,
|
||||
"narHash": "sha256-zudD0ycB1cOwvqFBlAwSKwjO9cZir2qzA4f43ixNYCQ=",
|
||||
"owner": "ihaveamac",
|
||||
"repo": "srcds-nix",
|
||||
"rev": "ad8a719fa97b26dfc0b3b6f0ba0f468036c549e1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ihaveamac",
|
||||
"repo": "srcds-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"std": {
|
||||
"inputs": {
|
||||
"arion": [
|
||||
@@ -1427,6 +1463,27 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"srcds-nix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1738953846,
|
||||
"narHash": "sha256-yrK3Hjcr8F7qS/j2F+r7C7o010eVWWlm4T1PrbKBOxQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "4f09b473c936d41582dd744e19f34ec27592c5fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"vpn-confinement": {
|
||||
"locked": {
|
||||
"lastModified": 1778182451,
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
url = "github:lytedev/slippi-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
srcds-nix.url = "github:ihaveamac/srcds.nix";
|
||||
srcds-nix.url = "github:ihaveamac/srcds-nix";
|
||||
};
|
||||
outputs = {
|
||||
self,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
../../../modules/system
|
||||
../../../modules/fileshares/holocron_new
|
||||
../../../modules/homelab
|
||||
../../../modules/gameservers/srcds
|
||||
#../../../modules/gameservers/srcds
|
||||
#../../../modules/gameservers/minecraft_recpro
|
||||
#../../../modules/gameservers/minecraft_modded
|
||||
];
|
||||
@@ -83,9 +83,9 @@
|
||||
nfs.enable = true;
|
||||
};
|
||||
|
||||
gameservers = {
|
||||
srcds.enable = true;
|
||||
};
|
||||
# gameservers = {
|
||||
# srcds.enable = true;
|
||||
# };
|
||||
|
||||
# boot (systemd is going on me)
|
||||
boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know
|
||||
|
||||
@@ -63,21 +63,12 @@ in {
|
||||
cs2-server = {
|
||||
appId = 730;
|
||||
gamePort = cfg.port;
|
||||
sourceTV = {
|
||||
enable = true;
|
||||
port = cfg.tv_port;
|
||||
};
|
||||
rcon = {
|
||||
enable = true;
|
||||
password = "secretpass";
|
||||
};
|
||||
extraArgs = [];
|
||||
startingMap = cfg.map;
|
||||
config = {
|
||||
hostname = "recoil.pro cs2 server";
|
||||
sv_password = "recpro727";
|
||||
sv_contact = "me@recoil.pro";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user