init commit

This commit is contained in:
Yan Lin 2026-02-12 07:29:04 +01:00
commit 180e80181b
15 changed files with 1018 additions and 0 deletions

25
hosts/nixos/hs/home.nix Normal file
View 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";
};
}