media server stuff
This commit is contained in:
parent
b8cecec95a
commit
958b17708d
@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
@ -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" ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user