Add flanilla user info

This commit is contained in:
Daniel Flanagan 2024-02-21 22:32:05 -06:00
parent ac31bfe22d
commit e7167055b2
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -190,6 +190,7 @@ in {
"users" # general users group
"jellyfin" # write access to /storage/jellyfin
"jland"
"flanilla"
];
};
@ -243,6 +244,8 @@ in {
users.groups.jland = {
gid = 982;
};
users.groups.flanilla = {
};
users.users.jland = {
uid = 986;
# used for running the jland minecraft server
@ -250,6 +253,11 @@ in {
createHome = false;
group = "jland";
};
users.users.flanilla = {
isSystemUser = true;
createHome = false;
group = "flanilla";
};
users.users.nextcloud = {
# used for anonymous samba access
@ -766,11 +774,12 @@ in {
autoStart = true;
image = "docker.io/itzg/minecraft-server";
user = "${toString config.users.users.flanilla.uid}:${toString config.users.groups.flanilla.gid}";
extraOptions = ["--tty" "--interactive"];
environment = {
EULA = "true";
# UID = toString config.users.users.jland.uid;
# GID = toString config.users.groups.jland.gid;
UID = toString config.users.users.flanilla.uid;
GID = toString config.users.groups.flanilla.gid;
STOP_SERVER_ANNOUNCE_DELAY = "20";
TZ = "America/Chicago";
VERSION = "1.20.4";