added another hdd for automount

This commit is contained in:
xqtc161 2024-02-01 13:10:23 +01:00
parent 2e247f21ab
commit fec725aad7
3 changed files with 23 additions and 2 deletions

View file

@ -215,6 +215,8 @@
webex webex
#schildichat-desktop #schildichat-desktop
qbittorrent
neovide neovide
jetbrains.rust-rover jetbrains.rust-rover

View file

@ -156,6 +156,21 @@
services.jellyfin.enable = true; services.jellyfin.enable = true;
services.jellyfin.user = "xqtc"; services.jellyfin.user = "xqtc";
#services.calibre-web = {
# enable = true;
# user = "xqtc";
# listen = {
# ip = "localhost";
# port = 8083;
# };
# openFirewall = true;
# options = {
# calibreLibrary = "/mnt/HDD2/BOOKS";
# enableBookUploading = true;
# enableBookConversion = true;
# };
#};
services = { services = {
syncthing = { syncthing = {
@ -184,7 +199,7 @@
services.tailscale.enable = true; services.tailscale.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 8096 8080 ]; networking.firewall.allowedTCPPorts = [ 8096 8080 8082 ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;

View file

@ -23,10 +23,14 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/mnt" = fileSystems."/mnt/HDD1" =
{ device = "/dev/disk/by-uuid/bc68de4c-ad5c-4016-ac11-65de448949fe"; { device = "/dev/disk/by-uuid/bc68de4c-ad5c-4016-ac11-65de448949fe";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/mnt/HDD2" =
{ device = "/dev/disk/by-uuid/c37bc41d-8d92-4b7e-ac45-3420804d086c";
fsType = "ext4";
};
swapDevices = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking