216 current 2025-10-10 04:43:06 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -82,7 +82,7 @@ in
|
|||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "minecraft";
|
name = "minecraft";
|
||||||
password = ${toString sec."minecraft_recpro_db_passwd"};
|
password = sec."minecraft_recpro_db_passwd"};
|
||||||
ensurePermissions = { "minecraft_recpro_db.*" = "ALL PRIVILEGES"; };
|
ensurePermissions = { "minecraft_recpro_db.*" = "ALL PRIVILEGES"; };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -123,8 +123,15 @@ in
|
|||||||
path = "/var/lib/gameservers/minecraft_recpro/velocity/forwarding.secret";
|
path = "/var/lib/gameservers/minecraft_recpro/velocity/forwarding.secret";
|
||||||
mode = "0400";
|
mode = "0400";
|
||||||
};
|
};
|
||||||
|
"minecraft_recpro_db_passwd" = {
|
||||||
|
owner = "minecraft";
|
||||||
|
group = "minecraft";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# add to backups
|
# add to backups
|
||||||
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
|
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user