updated /var/lib/reforger/ systemd.files user
All checks were successful
/ check (push) Successful in 1m11s
/ deploy (push) Has been skipped

This commit is contained in:
steven carpenter 2025-06-30 02:21:53 -04:00
parent 83b5be577f
commit 13dc510b8b

View file

@ -14,36 +14,39 @@ in
self.nixosModules.default self.nixosModules.default
"${modulesPath}/virtualisation/lxc-container.nix" "${modulesPath}/virtualisation/lxc-container.nix"
]; ];
# sample way to make a directory systemd.tmpfiles.rules = [
# systemd.tmpfiles.rules = [ "d /var/lib/reforger/configs/ 0755 root root -"
# "d /var/lib/myapp 0755 myuser mygroup -" "d /var/lib/reforger/profile/ 0755 root root -"
# ]; "d /var/lib/reforger/workshop/ 0755 root root -"
];
# read more options here # read more options here
# https://search.nixos.org/options?channel=25.05&show=virtualisation.oci-containers.containers.%3Cname%3E.workdir&from=0&size=50&sort=relevance&type=packages&query=oci+containers # https://search.nixos.org/options?channel=25.05&show=virtualisation.oci-containers.containers.%3Cname%3E.workdir&from=0&size=50&sort=relevance&type=packages&query=oci+containers
# https://wiki.nixos.org/wiki/NixOS_Containers # https://wiki.nixos.org/wiki/NixOS_Containers
services.yggdrasil.persistentKeys = false; services.yggdrasil.persistentKeys = false;
virtualisation.podman.enable = true; virtualisation = {
virtualisation.oci-containers.containers = { podman.enable = true;
arma = { oci-containers.containers = {
image = "ghcr.io/acemod/arma-reforger:latest"; arma = {
ports = [ image = "ghcr.io/acemod/arma-reforger:latest";
"2001:2001/udp" ports = [
"17777:17777/udp" "2001:2001/udp"
"19999:19999/udp" "17777:17777/udp"
]; "19999:19999/udp"
volumes = [ ];
# make sure this is a path that exists volumes = [
# my recomendation is to use /var/lib/reforger # make sure this is a path that exists
# be sure to have that directory created # my recomendation is to use /var/lib/reforger
"/var/lib/reforger/configs:/reforger/Configs" # be sure to have that directory created
"/var/lib/reforger/profile:/home/profile" "/var/lib/reforger/configs:/reforger/Configs"
"/var/lib/reforger/workshop:/reforger/workshop" "/var/lib/reforger/profile:/home/profile"
]; "/var/lib/reforger/workshop:/reforger/workshop"
environment = { ];
SERVER_PUBLIC_ADDRESS = "public-ip"; environment = {
GAME_NAME = "My Docker Reforger Server"; SERVER_PUBLIC_ADDRESS = "68.36.109.246";
}; GAME_NAME = "My Docker Reforger Server";
}; };
};
};
}; };
deploy = { deploy = {
enable = false; enable = false;