feat: started working on eris

This commit is contained in:
Nick 2025-11-01 03:22:01 -05:00
parent 1f07e76d98
commit 38a9eddafe
2 changed files with 8 additions and 0 deletions

View file

@ -230,6 +230,7 @@ in
]; ];
ceresStorageDriveName = "NAS1"; ceresStorageDriveName = "NAS1";
erisStorageDriveName = "NAS2";
ceresIP = "10.0.0.72"; ceresIP = "10.0.0.72";
erisIP = "192.168.50.245"; erisIP = "192.168.50.245";
deimosIP = "192.168.50.176"; deimosIP = "192.168.50.176";

View file

@ -3,6 +3,8 @@ let
inherit (moduleFunctions.devicesFunctions) inherit (moduleFunctions.devicesFunctions)
fileModeAndDirMode fileModeAndDirMode
ownerExclusiveReadWriteMask ownerExclusiveReadWriteMask
readWritePermissions
erisStorageDriveName
sambaPermissions sambaPermissions
userIdForUser0 userIdForUser0
erisIP erisIP
@ -23,6 +25,11 @@ in
boot = { boot = {
options = ownerExclusiveReadWriteMask; options = ownerExclusiveReadWriteMask;
}; };
storage0 = {
mount = "/mnt/media/${erisStorageDriveName}";
device = "/dev/disk/by-label/${erisStorageDriveName}";
options = readWritePermissions;
};
samba0 = { samba0 = {
mount = "/mnt/media/${erisName}"; mount = "/mnt/media/${erisName}";
device = "//${erisIP}"; device = "//${erisIP}";