init commit
This commit is contained in:
commit
180e80181b
15 changed files with 1018 additions and 0 deletions
25
hosts/nixos/hs/home.nix
Normal file
25
hosts/nixos/hs/home.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../home-default.nix
|
||||
../../../modules/syncthing.nix
|
||||
../../../modules/schedule.nix
|
||||
../../../modules/media/yt-dlp.nix
|
||||
];
|
||||
|
||||
services.scheduled-commands.aicloud-backup = {
|
||||
enable = true;
|
||||
description = "Backup aicloud files";
|
||||
interval = "*-*-* 18:00:00";
|
||||
commands = [
|
||||
"rsync -avP aicloud:~/ /mnt/storage/Backup/aicloud/ --exclude='/.*'"
|
||||
];
|
||||
};
|
||||
|
||||
programs.yt-dlp-custom = {
|
||||
enable = true;
|
||||
downloadDir = "/mnt/storage/Media/web-video";
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue