Compare commits
2 Commits
32e1f6771a
...
b8c5a66cdc
| Author | SHA1 | Date | |
|---|---|---|---|
|
b8c5a66cdc
|
|||
|
9e39ce41d0
|
@@ -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";
|
||||||
|
|||||||
7
zfs.nix
7
zfs.nix
@@ -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" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user