mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 10:30:52 -06:00
30 lines
386 B
Nix
30 lines
386 B
Nix
|
|
{
|
||
|
|
flake,
|
||
|
|
config,
|
||
|
|
pkgs,
|
||
|
|
lib,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
let
|
||
|
|
serverHelpers = {
|
||
|
|
ipAddress = ip: "192.168.50.${ip}";
|
||
|
|
mntPath = "/mnt/storage";
|
||
|
|
minecraft = {
|
||
|
|
id0 = 40;
|
||
|
|
id1 = 41;
|
||
|
|
id2 = 42;
|
||
|
|
ssh0 = 2440;
|
||
|
|
ssh1 = 2441;
|
||
|
|
ssh2 = 2442;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
minecraft = import ./guests/firefly-iii { inherit serverHelpers; };
|
||
|
|
|
||
|
|
in
|
||
|
|
{
|
||
|
|
imports = [
|
||
|
|
minecraft
|
||
|
|
];
|
||
|
|
}
|