diff --git a/hosts/nixos/hs/home.nix b/hosts/nixos/hs/home.nix index fef48bb..f47d01a 100644 --- a/hosts/nixos/hs/home.nix +++ b/hosts/nixos/hs/home.nix @@ -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; [ ]; diff --git a/hosts/nixos/hs/system.nix b/hosts/nixos/hs/system.nix index 0c023f5..10c3953 100644 --- a/hosts/nixos/hs/system.nix +++ b/hosts/nixos/hs/system.nix @@ -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/"