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; nginx.enable = true;
syncthing.enable = true; syncthing.enable = true;
restic.enable = true; restic.enable = true;
calibre-web.enable = true;
}; };
}; };
} }

View File

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

View File

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

View File

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

View File

@@ -30,9 +30,24 @@ in
insecureSkipHostcheck = false; 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 = { devices = {
phone.id = config.lib.syncthing.phone; phone.id = config.lib.syncthing.phone;
backwards.id = config.lib.syncthing.backwards; backwards.id = config.lib.syncthing.backwards;
manatee.id = config.lib.syncthing.manatee;
}; };
folders = { folders = {
@@ -24,6 +25,7 @@
devices = [ devices = [
"phone" "phone"
"backwards" "backwards"
"manatee"
]; ];
versioning = { versioning = {
type = "staggered"; type = "staggered";