add cs2 server
This commit is contained in:
@@ -62,7 +62,7 @@ in {
|
|||||||
hostname "${cfg.hostname}"
|
hostname "${cfg.hostname}"
|
||||||
sv_lan 0
|
sv_lan 0
|
||||||
sv_visiblemaxplayers ${toString cfg.maxPlayers}
|
sv_visiblemaxplayers ${toString cfg.maxPlayers}
|
||||||
rcon_password "$(<${config.sops.secrets.cs2-rcon.path})"
|
rcon_password "$(<${config.sops.secrets."cs2/rcon".path})"
|
||||||
mp_autoteambalance 1
|
mp_autoteambalance 1
|
||||||
mp_limitteams 2
|
mp_limitteams 2
|
||||||
'';
|
'';
|
||||||
@@ -134,17 +134,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets = {
|
|
||||||
cs2-gslt = {
|
|
||||||
owner = "cs2";
|
|
||||||
group = "cs2";
|
|
||||||
};
|
|
||||||
cs2-rcon = {
|
|
||||||
owner = "cs2";
|
|
||||||
group = "cs2";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# manage secrets with sops
|
# manage secrets with sops
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"${service}/gslt" = {
|
"${service}/gslt" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user