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