Compare commits

...

2 Commits

Author SHA1 Message Date
Alexander Heldt
a6fac14f57 manatee/backwards: Move calibre-web module to manatee 2025-05-18 17:39:32 +02:00
Alexander Heldt
5f5df49717 pinwheel/manatee: Share org via syncthing 2025-05-18 17:36:37 +02:00
6 changed files with 24 additions and 6 deletions

View File

@@ -15,7 +15,6 @@ in
nginx.enable = true;
syncthing.enable = true;
restic.enable = true;
calibre-web.enable = true;
};
};
}

View File

@@ -2,6 +2,7 @@
{
imports = [
../../config-manager/default.nix
../../shared-modules/syncthing.nix
./hardware-configuration.nix
./disk-config.nix
./modules

View File

@@ -14,8 +14,8 @@ in
calibre-web = {
enable = true;
user = "alex";
group = "users";
user = "storage";
group = "storage";
listen = {
ip = "0.0.0.0";
@@ -23,7 +23,7 @@ in
};
options = {
calibreLibrary = "/home/alex/sync/reading-material/books";
calibreLibrary = "/mnt/media/public/books";
enableBookUploading = true;
};
};

View File

@@ -16,6 +16,7 @@ in
nginx.enable = true;
syncthing.enable = true;
transmission.enable = true;
calibre-web.enable = true;
audiobookshelf.enable = true;
jellyfin.enable = true;
immich.enable = true;

View File

@@ -30,9 +30,24 @@ in
insecureSkipHostcheck = false;
};
devices = { };
devices = {
pinwheel.id = config.lib.syncthing.pinwheel;
};
folders = { };
folders = {
org = {
path = "/mnt/sync/public/org";
devices = [
"pinwheel"
];
versioning = {
type = "staggered";
params = {
maxage = "2592000"; # 30 days
};
};
};
};
};
};

View File

@@ -16,6 +16,7 @@
devices = {
phone.id = config.lib.syncthing.phone;
backwards.id = config.lib.syncthing.backwards;
manatee.id = config.lib.syncthing.manatee;
};
folders = {
@@ -24,6 +25,7 @@
devices = [
"phone"
"backwards"
"manatee"
];
versioning = {
type = "staggered";