Update to kittynfs on the server too

This commit is contained in:
Jimbo 2025-01-03 18:10:35 -05:00
parent b288e381a8
commit cacbae990f
2 changed files with 35 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{
imports = [ ./jimbo ];
imports = [ ./main ];
}

View file

@ -0,0 +1,34 @@
{ config, ... }:
{
imports = [ ./nginx ];
services = {
syncthing = {
enable = config.system.server.enable;
user = config.sysusers.main;
group = "users";
dataDir = "/export/KittyNFS";
configDir = "/export/KittyNFS/.syncthing";
overrideDevices = true;
overrideFolders = true;
openDefaultPorts = true;
guiAddress = "sync.${config.domains.p2}";
settings = {
devices = {
"Pixel9" = { id = "DRUXHC7-APMWWE7-2R4U4UJ-4E5D2PR-G2X7DCI-5MRRZV5-FQCHCDQ-5Q4X7 AY"; };
};
folders = {
"JimBops" = {
path = "/export/KittyNFS/Music/JimBops";
devices = [ "Pixel9" ];
ignorePerms = false;
};
};
gui = {
user = config.sysusers.main;
password = "password";
};
};
};
};
}