mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-15 02:50:57 -06:00
36 lines
665 B
Nix
36 lines
665 B
Nix
|
|
{ moduleFunctions }:
|
||
|
|
let
|
||
|
|
inherit (moduleFunctions.devicesFunctions)
|
||
|
|
ownerWriteOthersReadMask
|
||
|
|
readWritePermissions
|
||
|
|
marsIP
|
||
|
|
deviceNames
|
||
|
|
;
|
||
|
|
in
|
||
|
|
{
|
||
|
|
label = deviceNames.desktopLabel;
|
||
|
|
name = deviceNames.desktop;
|
||
|
|
sync = {
|
||
|
|
address0 = "";
|
||
|
|
};
|
||
|
|
ip = {
|
||
|
|
address0 = marsIP;
|
||
|
|
};
|
||
|
|
boot = {
|
||
|
|
options = ownerWriteOthersReadMask;
|
||
|
|
};
|
||
|
|
wireguard = {
|
||
|
|
ip0 = "10.100.0.2";
|
||
|
|
};
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
}
|