mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
31 lines
558 B
Nix
Executable file
31 lines
558 B
Nix
Executable file
{ devicesFunctions }:
|
|
let
|
|
inherit (devicesFunctions)
|
|
ownerWriteOthersReadMask
|
|
readWritePermissions
|
|
marsIP
|
|
;
|
|
in
|
|
{
|
|
label = "Mars";
|
|
name = "mars";
|
|
sync = {
|
|
address0 = "";
|
|
};
|
|
ip = {
|
|
address0 = marsIP;
|
|
};
|
|
boot = {
|
|
options = ownerWriteOthersReadMask;
|
|
};
|
|
storage0 = {
|
|
mount = "/mnt/media/games";
|
|
device = "/dev/disk/by-label/Games";
|
|
options = readWritePermissions;
|
|
};
|
|
storage1 = {
|
|
mount = "/mnt/media/storage";
|
|
device = "/dev/disk/by-label/Storage";
|
|
options = readWritePermissions;
|
|
};
|
|
}
|