feat: got minecraft servers sorted

This commit is contained in:
Nick 2025-11-27 01:17:38 -06:00
parent 4c3ab7728c
commit 1f43844e90
8 changed files with 20 additions and 21 deletions

View file

@ -7,5 +7,12 @@ let
map (name: ./. + "/${name}") dirContent;
in
{
systemd = {
tmpfiles.rules = [
"d /mnt/storage/minecraft 0751 microvm wheel - -"
];
};
imports = importList;
}

View file

@ -154,15 +154,15 @@ in
tag = "read_only_nix_store";
}
{
mountPoint = "/var/lib/${serviceCfg.name}";
mountPoint = serviceCfg.varPaths.path0;
proto = "virtiofs";
source = serviceCfg.mntPaths.path0;
tag = "${serviceCfg.name}_data";
tag = "${serviceCfg.name}-${world}_data";
}
{
mountPoint = "/run/secrets";
proto = "virtiofs";
source = "/run/secrets/${serviceCfg.name}";
source = serviceCfg.secretPaths.path0;
tag = "host_secrets";
}
];

View file

@ -152,15 +152,15 @@ in
tag = "read_only_nix_store";
}
{
mountPoint = "/var/lib/${serviceCfg.name}";
mountPoint = serviceCfg.varPaths.path0;
proto = "virtiofs";
source = serviceCfg.mntPaths.path0;
tag = "${serviceCfg.name}_data";
tag = "${serviceCfg.name}-${world}_data";
}
{
mountPoint = "/run/secrets";
proto = "virtiofs";
source = "/run/secrets/${serviceCfg.name}";
source = serviceCfg.secretPaths.path0;
tag = "host_secrets";
}
];