mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: started working on eris
This commit is contained in:
parent
1f07e76d98
commit
38a9eddafe
2 changed files with 8 additions and 0 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue