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