mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
32 lines
581 B
Nix
Executable file
32 lines
581 B
Nix
Executable file
{ devicesFunctions }:
|
|
let
|
|
inherit (devicesFunctions)
|
|
readWritePermissions
|
|
;
|
|
drivePath = "/run/media";
|
|
byLabel = "/dev/disk/by-label";
|
|
|
|
in
|
|
{
|
|
label = "Saturn";
|
|
name = "saturn";
|
|
ip = {
|
|
address0 = "192.168.58.104";
|
|
};
|
|
boot = {
|
|
options = [
|
|
"fmask=0022"
|
|
"dmask=0022"
|
|
];
|
|
};
|
|
storage0 = {
|
|
mount = "${drivePath}/games";
|
|
device = "${byLabel}/Games";
|
|
options = readWritePermissions;
|
|
};
|
|
storage1 = {
|
|
mount = "${drivePath}/entertainment";
|
|
device = "${byLabel}/Entertainment";
|
|
options = readWritePermissions;
|
|
};
|
|
}
|