removed snapraid & mergerfs

This commit is contained in:
2023-10-11 15:37:48 -06:00
parent c16a6dc50c
commit 331f650678
3 changed files with 47 additions and 138 deletions

View File

@@ -702,8 +702,6 @@ environment = {
wget
jellyfin-ffmpeg # coolest video converter!
dlib
mergerfs
mergerfs-tools
];
variables = rec {
# PATH
@@ -763,38 +761,39 @@ historic backup of your files, I am more concerned with the whole disk recovery
in case of failure, as such a frequent sync fits my preferences.
#+begin_src nix
snapraid = {
enable = true;
touchBeforeSync = true;
sync.interval = "02:00";
scrub.interval = "04:00";
extraConfig = ''
autosave 5000
'';
parityFiles = [
"/mnt/disks/parity/snapraid.parity"
];
dataDisks = {
d1 = "/mnt/disks/disk1/";
d2 = "/mnt/disks/disk2/";
d3 = "/mnt/disks/seedbox/";
};
exclude = [
"/tmp/"
"/lost+found/"
"/multimedia/downloads/"
"/backups/"
"/glue/Spankbank/unorganized/chaturbate/"
"/nextcloud/nextcloud.log"
"/seeding/"
"/.Trash-1000/"
];
contentFiles = [
"/var/snapraid.content"
"/mnt/snapraid/disk1/snapraid.content"
"/mnt/snapraid/disk2/snapraid.content"
];
};
# snapraid = {
# enable = true;
# touchBeforeSync = true;
# sync.interval = "02:00";
# scrub.interval = "04:00";
# extraConfig = ''
# autosave 5000
# # blocksize 128
# '';
# parityFiles = [
# "/mnt/disks/parity/snapraid.parity"
# ];
# dataDisks = {
# d1 = "/mnt/disks/disk1/";
# d2 = "/mnt/disks/disk2/";
# d3 = "/mnt/disks/seedbox/";
# };
# exclude = [
# "/tmp/"
# "/lost+found/"
# "/multimedia/downloads/"
# "/backups/"
# "/glue/Spankbank/unorganized/chaturbate/"
# "/nextcloud/nextcloud.log"
# "/seeding/"
# "/.Trash-1000/"
# ];
# contentFiles = [
# "/var/snapraid.content"
# "/mnt/snapraid/disk1/snapraid.content"
# "/mnt/snapraid/disk2/snapraid.content"
# ];
# };
#+end_src
* PROGRAMS
@@ -858,8 +857,7 @@ services = {
enable = true;
fileSystems = [
"/"
"/mnt/disks/disk1"
"/mnt/disks/disk2"
"/mnt/pool"
];
};
samba-wsdd.enable = true;