mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 10:30:52 -06:00
test: setting up nas structure
This commit is contained in:
parent
8cd193ec49
commit
4225970826
747 changed files with 2938 additions and 4347 deletions
29
modules/nixos/server/default.nix
Executable file
29
modules/nixos/server/default.nix
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue