Add dedicated consume folder

This commit is contained in:
Yan Lin 2026-02-14 16:38:33 +01:00
parent 09d73d94a2
commit 2d9d93fe68
7 changed files with 11 additions and 7 deletions

View file

@ -13,6 +13,7 @@
Documents = { enable = true; maxAgeDays = 30; };
Media = { enable = true; maxAgeDays = 7; };
Archive = { enable = true; maxAgeDays = 30; };
Consume = { enable = true; maxAgeDays = 7; };
DCIM = { enable = true; maxAgeDays = 7; path = "/mnt/essd/DCIM"; };
};
@ -21,7 +22,7 @@
description = "Move files in dcim consume folder to DCIM";
interval = "*-*-* *:00/15:00";
commands = [
"photo-move -d /home/yanlin/Documents/consume/dcim /mnt/essd/DCIM"
"photo-move -d /home/yanlin/Consume/dcim /mnt/essd/DCIM"
];
};

View file

@ -3,7 +3,7 @@
{
imports = [
./hardware-configuration.nix
./containers.nix
# ./containers.nix
./proxy.nix
../system-default.nix
../../../modules/vpn/tailscale.nix

View file

@ -13,6 +13,7 @@
Documents = { enable = true; maxAgeDays = 30; };
Media = { enable = true; maxAgeDays = 7; };
Archive = { enable = true; maxAgeDays = 30; };
Consume = { enable = true; maxAgeDays = 7; };
DCIM = { enable = true; maxAgeDays = 7; path = "~/DCIM"; };
};

View file

@ -191,7 +191,7 @@
services.tailscale-custom.exitNode = true;
services.borg-client-custom = {
enable = false;
enable = true;
repositoryUrl = "ssh://borg-box/./thinkpad";
backupPaths = [
"/home/yanlin/Archive"