Compare commits

..

2 commits

Author SHA1 Message Date
baritone 3b3e6d4641 :) 2025-04-15 13:41:00 +02:00
baritone 4b8afb9a33 actually made web ui accessible from local network 2025-04-15 13:40:49 +02:00
2 changed files with 6 additions and 0 deletions

View file

@ -34,5 +34,8 @@
"nrb" = "sudo nixos-rebuild switch --flake /etc/nixos"; "nrb" = "sudo nixos-rebuild switch --flake /etc/nixos";
"vmr" = "rm ~/.ssh/known_hosts; ssh root@10.0.0.1"; "vmr" = "rm ~/.ssh/known_hosts; ssh root@10.0.0.1";
}; };
shellAliases = {
"fucking" = "sudo";
};
}; };
} }

View file

@ -177,6 +177,9 @@ in {
download-queue-enabled = false; download-queue-enabled = false;
rpc-authentication-required = false; rpc-authentication-required = false;
rpc-bind-address = "0.0.0.0";
rpc-host-whitelist = builtins.concatStringsSep "," [host "127.0.0.1" "10.0.101.10" "10.0.${toString vm-index}.254"];
rpc-whitelist = builtins.concatStringsSep "," [host "127.0.0.1" "10.0.101.10" "10.0.${toString vm-index}.254"];
}; };
downloadDirPermissions = "775"; downloadDirPermissions = "775";
performanceNetParameters = true; performanceNetParameters = true;