Compare commits
2 Commits
ba3309c268
...
a6fac14f57
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6fac14f57 | ||
|
|
5f5df49717 |
@@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user