From 958b17708d3cbecce808fb21f80f9d165eb3770f Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Thu, 9 Nov 2023 23:56:23 -0600 Subject: [PATCH] media server stuff --- server/configuration.org | 45 +--------------------------------------- server/fstab.nix | 10 ++++----- 2 files changed, 6 insertions(+), 49 deletions(-) diff --git a/server/configuration.org b/server/configuration.org index 67eda88..b7bc0c3 100644 --- a/server/configuration.org +++ b/server/configuration.org @@ -703,6 +703,7 @@ environment = { systemPackages = with pkgs; [ wget jellyfin-ffmpeg # coolest video converter! + mediainfo dlib ]; variables = rec { @@ -755,49 +756,6 @@ environment = { }; #+end_src -* SNAPRAID -It's a parity raid utility which creates a scheme similar to what UNRAID -offered, except not in real time, I schedule it to run every night, so it keeps -my files sync, while it is possible to use snapraid as a solution to keep a -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 -# # 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 Some programs get enabled and installed through here, as well as the activation of some services. @@ -845,7 +803,6 @@ services = { settings = { inotify = "yes"; media_dir = [ - "/mnt/disks/seedbox" "/mnt/pool" ]; }; diff --git a/server/fstab.nix b/server/fstab.nix index e609cf8..9bcc40f 100644 --- a/server/fstab.nix +++ b/server/fstab.nix @@ -113,11 +113,11 @@ depends = [ "/mnt/pool" ]; }; # Jellyfin RO - "/mnt/jellyfin/external" = { - device = "/mnt/disks/nvme"; - options = [ "bind" "ro" ]; - depends = [ "/mnt/pool" ]; - }; + # "/mnt/jellyfin/external" = { + # device = "/mnt/disks/nvme"; + # options = [ "bind" "ro" ]; + # depends = [ "/mnt/pool" ]; + # }; "/mnt/jellyfin/media" = { device = "/mnt/pool/multimedia/media"; options = [ "bind" "ro" ];