Compare commits

..

1 Commits

Author SHA1 Message Date
Illia Chub aa1530c0bf Backend version updated to 0.5.1
Reviewed-on: ilchub/selfprivacy-nixos-infect#16
2021-07-30 12:28:18 +03:00
3 changed files with 6 additions and 11 deletions

0
LICENSE Executable file → Normal file
View File

1
README.md Executable file → Normal file
View File

@ -5,6 +5,7 @@ This script - is a modded version of original [nixos-infect](https://github.com/
This script has been tested and can install NixOS from the following source distros:
On Digital Ocean:
- Fedora 33 x64
- Ubuntu 20.04 x64
On Hetzner cloud:

16
nixos-infect Executable file → Normal file
View File

@ -48,6 +48,7 @@ makeConf() {
./vpn/ocserv.nix
./api/api.nix
./api/api-module.nix
#./social/pleroma-module.nix
./social/pleroma.nix
./letsencrypt/acme.nix
./letsencrypt/resolve.nix
@ -487,11 +488,11 @@ EOF
{
services.nextcloud = {
enable = true;
package = pkgs.nextcloud22;
package = pkgs.nextcloud21;
hostName = "cloud.$DOMAIN";
# Use HTTPS for links
https = true;
https = false;
# Auto-update Nextcloud Apps
autoUpdateApps.enable = true;
@ -670,7 +671,7 @@ let
version = "1.0";
src = builtins.fetchGit {
url = "https://git.selfprivacy.org/ilchub/selfprivacy-rest-api.git";
rev = "568add06c6d622d417582ce55e3cc960686721ed";
rev = "0980039a67c32a128a96ac73c98fc87aad64674b";
};
propagatedBuildInputs = [ flask flask-restful pandas ];
meta = {
@ -775,9 +776,6 @@ dns = 1.1.1.1
dns = 1.0.0.1
route = default
cisco-client-compat = true
'';
};
}
@ -1340,10 +1338,6 @@ infect() {
apt update
apt install -y git whois
cat > /etc/resolv.conf << EOF
nameserver 1.1.1.1
nameserver 1.0.0.1
EOF
prepareEnv
makeSwap # smallest (512MB) droplet needs extra memory!
checkEnv
@ -1353,4 +1347,4 @@ removeSwap
if [[ -z "$NO_REBOOT" ]]; then
reboot
fi
fi