Compare commits

...

2 Commits

Author SHA1 Message Date
b8c5a66cdc zfs: change arc size setting 2025-08-25 13:20:11 -04:00
9e39ce41d0 qbt: use pkgs.vuetorrent 2025-08-25 13:08:27 -04:00
2 changed files with 6 additions and 8 deletions

View File

@@ -27,12 +27,7 @@
serverConfig.Preferences = { serverConfig.Preferences = {
WebUI = { WebUI = {
AlternativeUIEnabled = true; AlternativeUIEnabled = true;
RootFolder = builtins.toString ( RootFolder = builtins.toString pkgs.vuetorrent;
pkgs.fetchzip {
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.28.2/vuetorrent.zip";
sha256 = "8aKmiXcr2pp8qt4w/lYBAIjLPh8tlgYsx6PbovY54KM=";
}
);
# disable auth because we use caddy for auth # disable auth because we use caddy for auth
AuthSubnetWhitelist = "0.0.0.0/0"; AuthSubnetWhitelist = "0.0.0.0/0";

View File

@@ -25,10 +25,13 @@ in
boot.kernelParams = boot.kernelParams =
let let
mb = 20000; gb = 20;
mb = gb * 1000;
kb = mb * 1000;
b = kb * 1000;
in in
[ [
"zfs.zfs_arc_max=${builtins.toString (mb * 1000000)}" "zfs.zfs_arc_max=${builtins.toString b}"
]; ];
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];