summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-11-27 19:56:58 +0100
committerMel <einebeere@gmail.com>2024-11-27 19:57:06 +0100
commit6195d26d4d8296aec4e699246cbb859a832cba19 (patch)
tree6a6ff7ed72a6f0ee02a90b97c011aeddbc957598 /machines
parentecfa32b506bd12458f018d7f890a24d3a1d64b54 (diff)
downloadnetwork-6195d26d4d8296aec4e699246cbb859a832cba19.tar.zst
network-6195d26d4d8296aec4e699246cbb859a832cba19.zip
Move jellyfin to corsac from bismuth
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'machines')
-rw-r--r--machines/corsac/default.nix1
-rw-r--r--machines/corsac/devices.nix12
2 files changed, 13 insertions, 0 deletions
diff --git a/machines/corsac/default.nix b/machines/corsac/default.nix
index 02430e8..75a9f05 100644
--- a/machines/corsac/default.nix
+++ b/machines/corsac/default.nix
@@ -9,6 +9,7 @@
 
     ../../modules/dns.nix
     ../../modules/nfs.nix
+    ../../modules/jellyfin.nix
   ];
 
   system.stateVersion = "24.05";
diff --git a/machines/corsac/devices.nix b/machines/corsac/devices.nix
index 224029b..396151a 100644
--- a/machines/corsac/devices.nix
+++ b/machines/corsac/devices.nix
@@ -22,4 +22,16 @@
     name = "enp1s0";
     DHCP = "yes";
   };
+
+  # extra filesystems
+  boot.supportedFilesystems = [ "ntfs" ];
+
+  fileSystems = {
+    # todo: migrate jellyfin drive
+    "/run/media/mel/Duo" = {
+      device = "/dev/disk/by-label/Duo";
+      fsType = "ntfs-3g";
+      options = [ "rw" "uid=1000" ];
+    };
+  };
 }