Add module to define Minecraft players
This commit is contained in:
parent
e8d5aea2dc
commit
80691f1491
3 changed files with 31 additions and 15 deletions
10
hosts/greatyamada/services/minecraft/players.nix
Normal file
10
hosts/greatyamada/services/minecraft/players.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
builtins.listToAttrs (map (player: {
|
||||
name = builtins.elemAt player 0;
|
||||
value = {
|
||||
name = builtins.elemAt player 0;
|
||||
uuid = builtins.elemAt player 1;
|
||||
};
|
||||
}) [
|
||||
|
||||
[ "engullejamones" "b65a1bc3-c6a0-4e8c-99b8-3538cfec0cfc" ]
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue