diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 2adcf0a..3c89837 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ 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: diff --git a/nixos-infect b/nixos-infect old mode 100644 new mode 100755 index f7f1a3b..c711be9 --- a/nixos-infect +++ b/nixos-infect @@ -48,7 +48,6 @@ makeConf() { ./vpn/ocserv.nix ./api/api.nix ./api/api-module.nix - #./social/pleroma-module.nix ./social/pleroma.nix ./letsencrypt/acme.nix ./letsencrypt/resolve.nix @@ -488,11 +487,11 @@ EOF { services.nextcloud = { enable = true; - package = pkgs.nextcloud21; + package = pkgs.nextcloud22; hostName = "cloud.$DOMAIN"; # Use HTTPS for links - https = false; + https = true; # Auto-update Nextcloud Apps autoUpdateApps.enable = true; @@ -671,7 +670,7 @@ let version = "1.0"; src = builtins.fetchGit { url = "https://git.selfprivacy.org/ilchub/selfprivacy-rest-api.git"; - rev = "0980039a67c32a128a96ac73c98fc87aad64674b"; + rev = "568add06c6d622d417582ce55e3cc960686721ed"; }; propagatedBuildInputs = [ flask flask-restful pandas ]; meta = { @@ -776,6 +775,9 @@ dns = 1.1.1.1 dns = 1.0.0.1 route = default + +cisco-client-compat = true + ''; }; } @@ -1338,6 +1340,10 @@ 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 @@ -1347,4 +1353,4 @@ removeSwap if [[ -z "$NO_REBOOT" ]]; then reboot -fi +fi \ No newline at end of file