feat: add CS-2 server

This commit is contained in:
tux
2025-01-11 04:25:49 +05:30
parent e0b19ede5a
commit 58d08a8684
4 changed files with 116 additions and 0 deletions

View File

@ -12,8 +12,23 @@
../common
../../modules/nixos/virtualisation/docker.nix
../../modules/nixos/containers/cs2.nix
];
sops.secrets = {
"cs2_secrets/SRCDS_TOKEN" = {
sopsFile = ./secrets.yaml;
};
"cs2_secrets/CS2_RCONPW" = {
sopsFile = ./secrets.yaml;
};
"cs2_secrets/CS2_PW" = {
sopsFile = ./secrets.yaml;
};
};
nixpkgs.hostPlatform = "x86_64-linux";
networking = {
@ -21,6 +36,8 @@
firewall.enable = false;
};
security.sudo.wheelNeedsPassword = false;
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;