Add dedicated consume folder
This commit is contained in:
parent
09d73d94a2
commit
2d9d93fe68
7 changed files with 11 additions and 7 deletions
|
|
@ -22,6 +22,7 @@
|
|||
Credentials.enable = true;
|
||||
Documents.enable = true;
|
||||
Media.enable = true;
|
||||
Consume.enable = true;
|
||||
Archive.enable = true;
|
||||
};
|
||||
|
||||
|
|
@ -201,7 +202,7 @@
|
|||
home.file.".snipaste/config.ini".text = lib.generators.toINI {} {
|
||||
General = {
|
||||
language = "en";
|
||||
last_save_folder = "/Users/yanlin/Documents/consume/dcim";
|
||||
last_save_folder = "/Users/yanlin/Consume/dcim";
|
||||
};
|
||||
Hotkey = {
|
||||
snip = ''"100663345, 100663314"'';
|
||||
|
|
@ -209,7 +210,7 @@
|
|||
};
|
||||
Output = {
|
||||
quick_save_notification = false;
|
||||
quick_save_path = "/Users/yanlin/Documents/consume/dcim/Snipaste_$yyyy-MM-dd_HH-mm-ss$.png";
|
||||
quick_save_path = "/Users/yanlin/Consume/dcim/Snipaste_$yyyy-MM-dd_HH-mm-ss$.png";
|
||||
};
|
||||
Snip = {
|
||||
ask_for_confirm_on_esc = false;
|
||||
|
|
|
|||
|
|
@ -100,8 +100,8 @@
|
|||
};
|
||||
|
||||
screencapture = {
|
||||
disable-shadow = false;
|
||||
location = "~/Documents/consume/dcim";
|
||||
disable-shadow = true;
|
||||
location = "~/Consume/dcim";
|
||||
type = "png";
|
||||
show-thumbnail = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./containers.nix
|
||||
# ./containers.nix
|
||||
./proxy.nix
|
||||
../system-default.nix
|
||||
../../../modules/vpn/tailscale.nix
|
||||
|
|
|
|||
|
|
@ -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"; };
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ in
|
|||
Documents = mkFolderOptions "Documents" { devices = pcDevices ++ serverDevices; };
|
||||
Media = mkFolderOptions "Media" { devices = lib.filter (d: d != "iphone") allDevices; };
|
||||
Archive = mkFolderOptions "Archive" {};
|
||||
Consume = mkFolderOptions "Consume" {};
|
||||
DCIM = mkFolderOptions "DCIM" { devices = serverDevices; };
|
||||
};
|
||||
enableGui = lib.mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue