switch to use immich-go toolkit
This commit is contained in:
parent
cd186314cc
commit
beaeecc5f2
9 changed files with 37 additions and 62 deletions
|
|
@ -5,7 +5,6 @@
|
|||
../home-default.nix
|
||||
../../../modules/syncthing.nix
|
||||
../../../modules/media/tool.nix
|
||||
../../../modules/schedule.nix
|
||||
];
|
||||
|
||||
syncthing-custom.folders = {
|
||||
|
|
@ -13,16 +12,6 @@
|
|||
Documents = { enable = true; maxAgeDays = 30; };
|
||||
Media = { enable = true; maxAgeDays = 7; };
|
||||
Archive = { enable = true; maxAgeDays = 30; };
|
||||
Consume = { enable = true; maxAgeDays = 7; };
|
||||
};
|
||||
|
||||
services.scheduled-commands.dcim-consume = {
|
||||
enable = true;
|
||||
description = "Move files in dcim consume folder to DCIM";
|
||||
interval = "*-*-* *:00/15:00";
|
||||
commands = [
|
||||
"photo-move -d /home/yanlin/Consume/dcim /mnt/storage/DCIM"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue