change essd format

This commit is contained in:
Yan Lin 2026-02-04 20:52:55 +01:00
parent e38d822ef1
commit d47e7be637
2 changed files with 27 additions and 1 deletions

View file

@ -90,10 +90,15 @@
# USB SSD mount
fileSystems."/mnt/essd" = {
device = "/dev/disk/by-id/usb-NVME_USB_3.2_0123456789ABC-0:0-part2";
fsType = "exfat";
fsType = "ext4";
options = [ "nofail" "x-systemd.device-timeout=5s" ];
};
# Set ownership of mount point
systemd.tmpfiles.rules = [
"d /mnt/essd 0755 yanlin users -"
];
# Host-specific packages
environment.systemPackages = with pkgs; [
smartmontools
@ -147,6 +152,8 @@
user = "yanlin";
audiobookshelf.enable = true;
deluge.enable = true;
sonarr.enable = true;
plex.enable = true;
};
# Samba file sharing

View file

@ -27,6 +27,17 @@
};
};
tv = {
rule = "Host(`tv.yanlincs.com`)";
service = "tv";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
};
services = {
@ -40,6 +51,14 @@
};
};
tv = {
loadBalancer = {
servers = [{
url = "http://nfss.yanlincs.com:32400";
}];
};
};
};
};