From fec725aad75aba5f4097be46f849f1669c91e817 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Thu, 1 Feb 2024 13:10:23 +0100 Subject: [PATCH] added another hdd for automount --- home/lambda/default.nix | 2 ++ hosts/asmodeus/default.nix | 17 ++++++++++++++++- hosts/asmodeus/hardware-configuration.nix | 6 +++++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/home/lambda/default.nix b/home/lambda/default.nix index 3406c31..f4ea7fe 100644 --- a/home/lambda/default.nix +++ b/home/lambda/default.nix @@ -215,6 +215,8 @@ webex #schildichat-desktop + qbittorrent + neovide jetbrains.rust-rover diff --git a/hosts/asmodeus/default.nix b/hosts/asmodeus/default.nix index 098516d..b3b83e6 100644 --- a/hosts/asmodeus/default.nix +++ b/hosts/asmodeus/default.nix @@ -156,6 +156,21 @@ services.jellyfin.enable = true; 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 = { syncthing = { @@ -184,7 +199,7 @@ services.tailscale.enable = true; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 8096 8080 ]; + networking.firewall.allowedTCPPorts = [ 8096 8080 8082 ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/asmodeus/hardware-configuration.nix b/hosts/asmodeus/hardware-configuration.nix index 88ed634..afc8373 100644 --- a/hosts/asmodeus/hardware-configuration.nix +++ b/hosts/asmodeus/hardware-configuration.nix @@ -23,10 +23,14 @@ fsType = "vfat"; }; - fileSystems."/mnt" = + fileSystems."/mnt/HDD1" = { device = "/dev/disk/by-uuid/bc68de4c-ad5c-4016-ac11-65de448949fe"; fsType = "ext4"; }; + fileSystems."/mnt/HDD2" = + { device = "/dev/disk/by-uuid/c37bc41d-8d92-4b7e-ac45-3420804d086c"; + fsType = "ext4"; + }; swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking