Commit Graph

355 Commits

Author SHA1 Message Date
bors[bot]
0586b4da4f
Merge #113
113: Added Quickstart guide r=Mic92 a=JillThornhill



Co-authored-by: Jill <jill.thornhill@zol.co.zw>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-19 05:12:09 +00:00
Jörg Thalheim
818acb038c reformat with prettier 2023-05-19 07:08:40 +02:00
Jill
c6cb9660fa Fixed links and formatting 2023-05-16 19:29:06 +02:00
Jill
38741a1406 Added content to quickstart.md 2023-05-16 19:06:24 +02:00
bors[bot]
b12b7f5465
Merge #111
111: fix rsync changing permissions r=Mic92 a=Mic92



Co-authored-by: Pogobanane <aenderboy@gmx.de>
2023-05-15 14:33:18 +00:00
Pogobanane
bdfbbd572a fix rsync changing permissions 2023-05-15 16:28:54 +02:00
bors[bot]
18f4de9f58
Merge #109
109: Flake update + test 22.11 r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-15 12:20:02 +00:00
Jörg Thalheim
85f36e3b0d also test nixos-22.11 2023-05-15 14:03:10 +02:00
Jörg Thalheim
12eff4e29f flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/35c3426fece22a6084c0bd64eccc37ff546da6ee' (2023-05-07)
  → 'github:nix-community/disko/8f95856432e091e5ac56fea2df81e905ddd02d27' (2023-05-13)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f3e943c249229affaaabd302e1cc14c769eef9d8' (2023-05-07)
  → 'github:hercules-ci/flake-parts/006c75898cf814ef9497252b022e91c946ba8e17' (2023-05-08)
• Updated input 'nixos-images':
    'github:nix-community/nixos-images/5aeef49472f1b0bb8c8aa082eb27ae2cc951f60c' (2023-05-07)
  → 'github:nix-community/nixos-images/4f10542ef14abb3268d5c68c7eb49cdd3dbf2db7' (2023-05-08)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/51f728c05759c8f8ce140396d89ab0a8ad9da9de' (2023-05-07)
  → 'github:nixos/nixpkgs/3e2728f51a8ed5287f2577737c6b5505d56de3e9' (2023-05-14)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/b44794f94514b61512352a18cd77c710f0005f15' (2023-05-05)
  → 'github:numtide/treefmt-nix/27107cf3dfdc3c809d2477954d92fc2cc68b4401' (2023-05-14)

flake.lock: Update

Flake lock file updates:

• Updated input 'nixos-images':
    'github:nix-community/nixos-images/4f10542ef14abb3268d5c68c7eb49cdd3dbf2db7' (2023-05-08)
  → 'github:nix-community/nixos-images/3758c6481cd8ad9571c0401fc634eda05a86489b' (2023-05-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3e2728f51a8ed5287f2577737c6b5505d56de3e9' (2023-05-14)
  → 'github:nixos/nixpkgs/8fb30f6066a87a91c21241f1993a26ff57005486' (2023-05-14)
2023-05-15 13:51:04 +02:00
bors[bot]
77ffd3a84a
Merge #108
108: resize image r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-14 14:14:46 +00:00
Jörg Thalheim
d71088868c resize image 2023-05-14 16:13:53 +02:00
bors[bot]
a288f57c49
Merge #99
99: add -i to allow passing private key files r=Mic92 a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-05-14 14:09:24 +00:00
zimbatm
8428ae7c52 add -i to allow passing private key files
Mirror the `-i` option from SSH, so you can run `nixos-anywhere ~/.ssh/other_key`.

This commit also fixes an issue where the generated key-pair would stay
around when using the SSH_PRIVATE_KEY env var.
2023-05-14 16:08:29 +02:00
Jörg Thalheim
fae3915b12
Merge pull request #107 from numtide/developer-guide
Move and improve developer guide
2023-05-14 14:46:20 +01:00
Jörg Thalheim
ba0c21ac64 tests/lib/test-base: also use non-interactive installer url 2023-05-14 15:39:57 +02:00
Jörg Thalheim
9e26e21f87 move out developer guide out of reference 2023-05-14 15:39:57 +02:00
Jörg Thalheim
64608a803d README: simplify code example 2023-05-14 15:39:57 +02:00
bors[bot]
a278faaa29
Merge #106
106: README: several markdown fixes r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-14 13:18:03 +00:00
Jörg Thalheim
d8d2a47973 howtos: expand using the nixos installer and fixups for using own kexec image 2023-05-14 15:17:05 +02:00
Jörg Thalheim
e55ffd7f88 README: several markdown fixes 2023-05-14 14:29:47 +02:00
bors[bot]
52511289c5
Merge #105
105: fix links and drop non-existing contributor guideline r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-14 12:24:07 +00:00
Jörg Thalheim
c10febb6b6 fix links and drop non-existing contributor guideline 2023-05-14 14:17:09 +02:00
bors[bot]
944c5b4b50
Merge #104
104: prettier: wrap long lines r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-14 12:13:59 +00:00
Jörg Thalheim
bb724e37b0 prettier: wrap long lines 2023-05-14 14:12:42 +02:00
bors[bot]
c5b23e5237
Merge #103
103: enable prettier and reformat markdown r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-14 12:09:57 +00:00
Jörg Thalheim
f5646c99a0 enable prettier and reformat markdown 2023-05-14 14:08:40 +02:00
bors[bot]
49865dc728
Merge #102
102: Refactor documentation using Jill's text r=Mic92 a=Mic92



Co-authored-by: JillThornhill <121565493+JillThornhill@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-14 12:04:56 +00:00
Jörg Thalheim
2ae380700c use lowercase file names for documentation 2023-05-14 14:02:13 +02:00
Jörg Thalheim
3d7a2ed854 References: add mdsh statement back 2023-05-14 13:59:16 +02:00
JillThornhill
e49ea88fbe Rework documentation 2023-05-14 13:57:58 +02:00
bors[bot]
c196258445
Merge #100
100: print the various steps r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-05-10 15:59:33 +00:00
bors[bot]
cfd9d36567
Merge #98
98: src/nixos-anywhere.sh: add shebang r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-05-10 15:43:39 +00:00
zimbatm
8e4a684ff5 src/nixos-anywhere.sh: add shebang
It's not strictly needed because Nix wraps it with
writeShellApplication, but it makes it easier for the script to be
standalone and use the right syntax highlighter in shells.

Invoke it with bash in the README because of the Nix build sandbox
missing /usr/bin/env
2023-05-10 17:08:17 +02:00
zimbatm
099790802d print the various steps
Let the user know what is happening by printing the high-level steps
in the console.
2023-05-10 11:31:14 +02:00
bors[bot]
44e8a437f2
Merge #97
97: README: format with mdsh r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-05-10 08:42:07 +00:00
zimbatm
4c354b29f1 README: format with mdsh
Use mdsh to keep the option parsing outputs in the README in sync with
the script.
2023-05-10 10:29:15 +02:00
bors[bot]
3dd1bb7994
Merge #96
96: README.md: add build-on-remote r=phaer a=zowoq



Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2023-05-10 07:37:34 +00:00
zowoq
d9457e6c8d README.md: add build-on-remote 2023-05-10 13:52:01 +10:00
bors[bot]
d26abc5d6d
Merge #95
95: Reduce memory consumption r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-07 20:45:00 +00:00
Jörg Thalheim
848a9cd4fc switch to non-interactive installer
Massive size decrease: 820 MB -> 321 MB
2023-05-07 22:40:16 +02:00
Jörg Thalheim
23ec5bc947 README: fix markup 2023-05-07 22:40:16 +02:00
Jörg Thalheim
3028a09680 reduce memory consumption 2023-05-07 22:40:16 +02:00
bors[bot]
419184cff6
Merge #94
94: bash is no longer required r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-07 19:55:26 +00:00
Jörg Thalheim
f76de710e7 tests/from-nixos: fix powering machine after nixos upgrade 2023-05-07 21:54:55 +02:00
Jörg Thalheim
1ba300c246 tests: fix disco config 2023-05-07 20:20:57 +02:00
Jörg Thalheim
cdf2124738 update flakes 2023-05-07 20:20:49 +02:00
Jörg Thalheim
9c6964bdbc bash is no longer required
since nixos-images upgraded: https://github.com/nix-community/nixos-images/pull/98
2023-05-07 15:58:30 +02:00
bors[bot]
840b9804fe
Merge #89
89: feat: detect bash & setsid presence and fail if they are not on the target r=phaer a=RaitoBezarius



Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
2023-05-03 16:12:43 +00:00
Raito Bezarius
33ab44a23d feat: detect bash & setsid presence and fail if they are not on the target
In #88, I stumbled on this trying to install an OpenWRT target.
This is a band-aid for helpful errors and avoiding "half broken" states.

In an upcoming PR, I will suggest a solution which will produce static
binaries for what is needed and use them on the host.
2023-05-03 18:07:48 +02:00
bors[bot]
17cc299abb
Merge #87
87: build-on-remote: fix check for store_paths r=Mic92 a=Lassulus



Co-authored-by: lassulus <git@lassul.us>
2023-04-27 10:47:36 +00:00