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
|
"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";
|
||||||
|
|
Loading…
Reference in a new issue