bvm-minecraft: add minecraft user, java 11
This commit is contained in:
parent
ed79fe89bd
commit
aa334a1ec8
1 changed files with 13 additions and 0 deletions
|
@ -28,5 +28,18 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
programs.java = {
|
||||
enable = true;
|
||||
package = pkgs.jdk11;
|
||||
};
|
||||
|
||||
users.groups.minecraft = {
|
||||
members = [ "minecraft" "lukegb" ];
|
||||
};
|
||||
users.users.minecraft = {
|
||||
isNormalUser = true;
|
||||
group = "minecraft";
|
||||
};
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue