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 ../../../modules/yt-dlp.nix
]; ];
# hs-specific home configuration
services.scheduled-commands.aicloud-backup = { services.scheduled-commands.aicloud-backup = {
enable = true; enable = true;
description = "Backup aicloud files"; description = "Backup aicloud files";
@ -20,7 +18,6 @@
]; ];
}; };
# yt-dlp configuration - store videos on large storage
programs.yt-dlp-custom = { programs.yt-dlp-custom = {
enable = true; enable = true;
downloadDir = "/mnt/storage/Media/web"; 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; [ home.packages = with pkgs; [
]; ];

View file

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