feat: removed synology

This commit is contained in:
Nick 2025-10-30 22:30:51 -05:00
parent afd0379585
commit 1f07e76d98
13 changed files with 6 additions and 142 deletions

View file

@ -236,7 +236,6 @@ in
marsIP = "192.168.50.218";
phoneIP = "192.168.50.243";
phobosIP = "192.168.50.180";
synologyIP = "10.0.0.122";
brotherIP = "192.168.50.195";
externalIP = "24.76.173.0";
@ -251,8 +250,6 @@ in
laptopLabel = "Deimos";
laptop2 = "phobos";
laptop2Label = "Phobos";
nas = "synology";
nasLabel = "Synology";
phone = "pixel";
phoneLabel = "Pixel";
iso = "iso";
@ -268,7 +265,6 @@ in
sopsPath = "/var/lib/secrets";
sslPath = "/var/lib/acme";
varLib = "/var/lib";
synologyName = "synology";
dummy = "";
};

View file

@ -1,27 +0,0 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.devicesFunctions)
sambaPermissions
userIdForUser0
synologyIP
deviceNames
;
inherit (moduleFunctions.usersFunctions) user0 user0Label;
synologyName = deviceNames.nas;
in
{
label = deviceNames.nasLabel;
sync = {
address0 = "MWRGX2V-F5XKE5E-REP6ECT-OOPFBMF-22NHSMW-YFBU6MB-PLFUN63-R3MW2QX"; # User0
};
name = synologyName;
ip = {
address0 = synologyIP;
};
# Nick Home Folder
folder0 = {
mount = "/mnt/media/${synologyName}/${user0}";
device = "//${synologyIP}/homes/${user0Label}";
options = sambaPermissions ++ userIdForUser0;
};
}

View file

@ -5,7 +5,6 @@ let
varLib
sslPath
sopsPath
synologyName
;
label = "Syncthing";
@ -29,7 +28,6 @@ in
subdomain = name;
tags = [
name
synologyName
"sync"
"thing"
];

View file

@ -1,27 +0,0 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
sopsPath
synologyName
;
label = "Synology";
name = synologyName;
in
{
label = label;
name = name;
short = "Nas";
tags = [
name
"dsm"
"cloud"
];
sops = {
path0 = "${sopsPath}/${name}";
};
ports = {
port0 = 5000; # Synology HTTP
port1 = 5001; # Synology HTTPS
};
}