This commit is contained in:
Yan Lin 2025-12-05 00:26:51 +01:00
parent cc00ecae62
commit 9b12090cb7
2 changed files with 10 additions and 18 deletions

View file

@ -9,8 +9,6 @@
../../../modules/yt-dlp.nix
];
# hs-specific home configuration
services.scheduled-commands.aicloud-backup = {
enable = true;
description = "Backup aicloud files";
@ -20,7 +18,6 @@
];
};
# yt-dlp configuration - store videos on large storage
programs.yt-dlp-custom = {
enable = true;
downloadDir = "/mnt/storage/Media/web";
@ -64,10 +61,6 @@
];
};
programs.zsh.shellAliases = {
move-inbox = "cp -rl /mnt/storage/Media/downloads/.inbox/* /mnt/storage/Media/downloads/inbox && chown -R yanlin:users /mnt/storage/Media/downloads/inbox";
};
home.packages = with pkgs; [
];

View file

@ -122,11 +122,11 @@
# Host-specific packages
environment.systemPackages = with pkgs; [
smartmontools # For monitoring disk health
zfs # ZFS utilities
mergerfs # Union filesystem for combining multiple drives
snapraid # Parity-based backup tool
intel-gpu-tools # GPU monitoring (intel_gpu_top, etc.)
smartmontools
zfs
mergerfs
snapraid
intel-gpu-tools
];
# ZFS services configuration
@ -138,11 +138,11 @@
};
autoSnapshot = {
enable = true;
frequent = 4; # Keep 4 15-minute snapshots
hourly = 24; # Keep 24 hourly snapshots
daily = 7; # Keep 7 daily snapshots
weekly = 4; # Keep 4 weekly snapshots
monthly = 12; # Keep 12 monthly snapshots
frequent = 4;
hourly = 24;
daily = 7;
weekly = 4;
monthly = 12;
};
trim = {
enable = true;
@ -220,7 +220,6 @@
# Borg backup configuration
services.borg-client-custom = {
enable = true;
# Use SSH alias from SSH config for remote backup to thinkpad borg server
repositoryUrl = "ssh://hs@borg-thinkpad/./hs";
backupPaths = [
"/mnt/storage/appbulk/immich/library/"