Add flanilla user info
This commit is contained in:
parent
ac31bfe22d
commit
e7167055b2
1 changed files with 11 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue