From 2723044b3576c9f455c95be99f3f79ede2e67762 Mon Sep 17 00:00:00 2001 From: chn Date: Thu, 27 Jun 2024 19:03:37 +0800 Subject: [PATCH] write setup script --- setup.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.md b/setup.md index 38970f66..bb4fc558 100644 --- a/setup.md +++ b/setup.md @@ -1,6 +1,7 @@ ```bash -sudo HTTPS_PROXY=socks5://127.0.0.1:10884 nixos-install --flake .#bootstrap \ - --option substituters http://127.0.0.1:5000 --option require-sigs false --option system-features gccarch-silvermont +nixos-install --flake .#vps4 --option substituters https://nix-store.chn.moe \ + --option require-sigs false --option system-features gccarch-znver2 \ + --option extra-experimental-features ca-derivations nix-serve -p 5000 nix copy --substitute-on-destination --to ssh://server /run/current-system nix copy --to ssh://nixos@192.168.122.56 ./result