{ ... }: let excludes = [ "/media/usenet/incomplete/" ]; in { #systemd.timers."snapraid-sync".enable = false; #temporarily services.snapraid = { enable = true; scrub.plan = 5; parityFiles = [ "/mnt/drives/43P0A00AFJDH/snapraid1.parity" "/mnt/drives/53J0A016FJDH/snapraid2.parity" ]; dataDisks = { d1 = "/mnt/drives/ZVV0688G"; d2 = "/mnt/drives/ZVV072JR"; d3 = "/mnt/drives/53F0A0SBFJDH"; d4 = "/mnt/drives/X2N0A0AZFJDH"; d5 = "/mnt/drives/53G0A2AXFJDH"; d6 = "/mnt/drives/92F0A079FJDH"; d7 = "/mnt/drives/X2N0A0AXFJDH"; d8 = "/mnt/drives/43P0A00FFJDH"; d9 = "/mnt/drives/ZA1D9307"; d10 = "/mnt/drives/1EJZN6MZ"; d11 = "/mnt/drives/1EKR513Z"; d12 = "/mnt/drives/1EKVK21Z"; }; contentFiles = [ "/mnt/snapraid1.content" "/mnt/drives/43P0A00AFJDH/snapraid2.content" "/mnt/drives/53J0A016FJDH/snapraid3.content" ]; exclude = excludes; }; #imports = [ ./modules/snapraid.nix ]; #services.snapraidnew = { # "8tb" = { # arrayName = "8tb"; # enable = true; # scrub.plan = 5; # parityFiles = [ # "/mnt/drives/ZA1D9307/snapraid-8tb.parity" # ]; # dataDisks = { # d1 = "/mnt/drives/1EJZN6MZ"; # d2 = "/mnt/drives/1EKR513Z"; # d3 = "/mnt/drives/1EKVK21Z"; # }; # contentFiles = [ # "/mnt/snapraid-8tb1.content" # "/mnt/drives/X2N0A0AZFJDH/snapraid-8tb2.content" # ]; # exclude = excludes; # }; # "18tb" = { # enable = true; # scrub.plan = 5; # parityFiles = [ # "/mnt/drives/X2N0A0AZFJDH/snapraid.parity" # ]; # dataDisks = { # d1 = "/mnt/drives/43P0A00AFJDH"; # d2 = "/mnt/drives/43P0A00FFJDH"; # d3 = "/mnt/drives/92F0A079FJDH"; # d4 = "/mnt/drives/X2N0A0AXFJDH"; # d5 = "/mnt/drives/53J0A016FJDH"; # d6 = "/mnt/drives/ZVV072JR"; # d7 = "/mnt/drives/ZVV0688G"; # }; # contentFiles = [ # "/mnt/snapraid-18tb1.content" # "/mnt/drives/ZA1D9307/snapraid-18tb2.content" # ]; # exclude = excludes; # }; #}; } # vim: set et ts=2 sw=2 ai: