feat: made server storage drive path more readable

This commit is contained in:
Nick 2024-10-23 15:17:09 -05:00
parent f24a280d4c
commit e4ff26f2b6

View file

@ -50,7 +50,7 @@ in {
server = let server = let
serverName = "server"; serverName = "server";
serverIP = "192.168.50.140"; serverIP = "192.168.50.140";
nasPath = "NAS1"; serverStorageDriveName = "NAS1";
in { in {
label = "Server"; label = "Server";
name = serverName; name = serverName;
@ -61,8 +61,8 @@ in {
options = ownerExclusiveReadWriteMask; options = ownerExclusiveReadWriteMask;
}; };
storage0 = { storage0 = {
mount = "/mnt/media/${nasPath}"; mount = "/mnt/media/${serverStorageDriveName}";
device = "/dev/disk/by-label/${nasPath}"; device = "/dev/disk/by-label/${serverStorageDriveName}";
options = readWritePermissions; options = readWritePermissions;
}; };
samba0 = { samba0 = {
@ -147,11 +147,11 @@ in {
}; };
}; };
# Pixel 7 Pro # Pixel 9
phone = { phone = {
name = "pixel"; name = "pixel";
sync = "AE65XCK-4FYDDBB-SMPCDQO-U3CZUHA-LAWTKZY-ZBUGVNI-ZRYACB2-FFNFVQF"; sync = "RMDKNJY-BTX6FYF-G6SR332-WS6HARI-PF74SC6-VPBSGRQ-MKVQZEQ-KSIB6QV";
ip = { ip = {
address0 = "192.168.50.243"; address0 = "192.168.50.243";
}; };