feat: consolidated ips

This commit is contained in:
Nick 2025-03-20 21:54:01 -05:00
parent 7b5dc571a0
commit 06e578eb17
8 changed files with 15 additions and 9 deletions

View file

@ -6,9 +6,9 @@ let
readWritePermissions readWritePermissions
sambaPermissions sambaPermissions
userIdForUser0 userIdForUser0
ceresIP
; ;
ceresName = "ceres"; ceresName = "ceres";
ceresIP = "192.168.50.140";
ceresStorageDriveName = "NAS1"; ceresStorageDriveName = "NAS1";
in in
{ {

View file

@ -2,6 +2,7 @@
let let
inherit (devicesFunctions) inherit (devicesFunctions)
ownerExclusiveReadWriteMask ownerExclusiveReadWriteMask
charonIP
; ;
in in
{ {
@ -11,7 +12,7 @@ in
address0 = ""; address0 = "";
}; };
ip = { ip = {
address0 = "192.168.50.42"; address0 = charonIP;
}; };
boot = { boot = {
options = ownerExclusiveReadWriteMask; options = ownerExclusiveReadWriteMask;

View file

@ -2,16 +2,17 @@
let let
inherit (devicesFunctions) inherit (devicesFunctions)
ownerWriteOthersReadMask ownerWriteOthersReadMask
deimosIP
; ;
in in
{ {
label = "Deimos"; label = "Deimos";
name = "deimos"; name = "deimos";
sync = { sync = {
address0 = ""; address0 = deimosIP;
}; };
ip = { ip = {
address0 = "192.168.50.142"; address0 = deimosIP;
}; };
boot = { boot = {
options = ownerWriteOthersReadMask; options = ownerWriteOthersReadMask;

View file

@ -3,6 +3,7 @@ let
inherit (devicesFunctions) inherit (devicesFunctions)
ownerWriteOthersReadMask ownerWriteOthersReadMask
readWritePermissions readWritePermissions
marsIP
; ;
in in
{ {
@ -12,7 +13,7 @@ in
address0 = ""; address0 = "";
}; };
ip = { ip = {
address0 = "192.168.50.196"; address0 = marsIP;
}; };
boot = { boot = {
options = ownerWriteOthersReadMask; options = ownerWriteOthersReadMask;

View file

@ -1,6 +1,7 @@
{ devicesFunctions }: { devicesFunctions }:
let let
inherit (devicesFunctions) inherit (devicesFunctions)
phoneIP
dummy dummy
; ;
in in
@ -12,6 +13,6 @@ in
address1 = "RUKSHY4-UCBYRVG-CVYFCMU-M3NLA3Q-JINRF5V-YPR5W32-TEIBJN6-DNQRCAR"; # User2 address1 = "RUKSHY4-UCBYRVG-CVYFCMU-M3NLA3Q-JINRF5V-YPR5W32-TEIBJN6-DNQRCAR"; # User2
}; };
ip = { ip = {
address0 = "192.168.50.243"; address0 = phoneIP;
}; };
} }

View file

@ -1,6 +1,7 @@
{ devicesFunctions }: { devicesFunctions }:
let let
inherit (devicesFunctions) inherit (devicesFunctions)
brotherIP
dummy dummy
; ;
in in
@ -8,6 +9,6 @@ in
name = dummy; name = dummy;
label = "Brother-HL-2170W"; label = "Brother-HL-2170W";
ip = { ip = {
address0 = "192.168.50.195"; address0 = brotherIP;
}; };
} }

View file

@ -4,6 +4,7 @@ let
sambaPermissions sambaPermissions
userIdForUser0 userIdForUser0
userIdForUser1 userIdForUser1
synologyIP
; ;
user0 = "nick"; user0 = "nick";
@ -11,7 +12,6 @@ let
user0Name = "Nick"; user0Name = "Nick";
user1Name = "Garnet"; user1Name = "Garnet";
synologyName = "synology"; synologyName = "synology";
synologyIP = "192.168.50.209";
in in
{ {
label = "Synology"; label = "Synology";

View file

@ -2,6 +2,7 @@
let let
inherit (devicesFunctions) inherit (devicesFunctions)
readWritePermissions readWritePermissions
venusIP
; ;
drivePath = "/run/media"; drivePath = "/run/media";
byLabel = "/dev/disk/by-label"; byLabel = "/dev/disk/by-label";
@ -11,7 +12,7 @@ in
label = "Venus"; label = "Venus";
name = "venus"; name = "venus";
ip = { ip = {
address0 = "192.168.58.104"; address0 = venusIP;
}; };
boot = { boot = {
options = [ options = [