Commit Graph

517 Commits

Author SHA1 Message Date
Michael Hoang
9216d7713b terraform/install: deal with symlinks better 2024-06-30 14:05:24 +00:00
fin444
c20787adb1 don't attempt to export zpool if there is none 2024-06-30 13:57:22 +00:00
Jörg Thalheim
ce18c086d8 docs/legacy-nix: make example more standard conform
* add nixos-generate-config as the hardware otherwise might not boot
* change configuration.nix so that it can be actually used with nixos-rebuild
* refactor nixos-anywhere into a single line for convenience
2024-06-19 13:17:39 +00:00
Jörg Thalheim
db2478a9a6 quickstart: fix nixos-generate-config scripts 2024-06-19 13:17:39 +00:00
Valentin Gagarin
b98b2019e2 make a working example 2024-06-19 13:17:39 +00:00
Valentin Gagarin
6d9266f786 docs: simplify non-flakes instructions 2024-06-19 13:17:39 +00:00
Sandro
3b3c600837
Don't reference this repo as Numtides (#334) 2024-06-17 13:51:23 +02:00
Jörg Thalheim
2700c8c735
Merge pull request #333 from talbergs/patch-1
Update quickstart.md
2024-06-16 17:24:32 +02:00
Martins Talbergs
381e8ebf48 Update quickstart.md
fixed common typo
2024-06-15 18:35:33 +02:00
Johannes Bornhold
46dc28f4f8 flake.lock: Update all dependencies
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/713aa3df481782719aed4d8c20ad31a9effe3564?narHash=sha256-geTO9YL1V9zYGxupuZvKFWxh6II9sH2bjI1dmEVhVYQ%3D' (2024-06-06)
  → 'github:nix-community/disko/c1cfbfad7cb45f0c177b35b59ba67d1b5fc7ca82?narHash=sha256-nlh/2uD5p2SAdkn6Zuey20yaR5FFWvhL3poapDGNE4Y%3D' (2024-06-10)
• Updated input 'nixos-stable':
    'github:NixOS/nixpkgs/0b8e7a1ae5a94da2e1ee3f3030a32020f6254105?narHash=sha256-WZ1s48OODmRJ3DHC%2BI/DtM3tDRuRJlNqMvxvAPTD7ec%3D' (2024-06-05)
  → 'github:NixOS/nixpkgs/9b5328b7f761a7bbdc0e332ac4cf076a3eedb89b?narHash=sha256-1%2Bua0ggXlYYPLTmMl3YeYYsBXDSCqT%2BGw3u6l4gvMhA%3D' (2024-06-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/bf3faad723ca984fc4ea95c1cee1d975a8ca2a28?narHash=sha256-hqHp0W7ibfdu5DFc6EG3S3c%2BGSAbti7VUldFXSf/WiI%3D' (2024-06-07)
  → 'github:nixos/nixpkgs/7d916e720af6b2ca355e4d0cfb8e4f742c172239?narHash=sha256-THcv8qDqobZefHHluPjx/8n%2BMtVVb8ag/oJbKMqKNRo%3D' (2024-06-09)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
  → 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08)
2024-06-10 11:52:22 +00:00
Johannes Bornhold
6b3bd1acbe flake.lock: Update nixos-images
Flake lock file updates:

• Updated input 'nixos-images':
    'github:nix-community/nixos-images/f267906ba610b2e29f3f45ab45a0669e28c407ef?narHash=sha256-tb5aB7YSZUXl0OHKLXZJNJgRtnyxlgtabvj3xGsShMU%3D' (2024-06-07)
  → 'github:nix-community/nixos-images/e2fd329c3a39a90bb43e1e2cf47c180ed57831bf?narHash=sha256-ueTu01bYU5QXdL77psMkApYHpk339xNHg/M7ZzP3uPI%3D' (2024-06-10)
2024-06-10 11:52:22 +00:00
Johannes Bornhold
f964678caa Add new parameter "--kexec-extra-flags"
This allows to pass in special flags like "--no-sync" into the call to "kexec".
2024-06-10 11:52:22 +00:00
Jörg Thalheim
4079e0de1c add gnutar as dependency 2024-06-07 14:23:04 +00:00
Jörg Thalheim
4ede0c8755
Merge pull request #330 from nix-community/joerg-ci
bump version to 1.3.0
2024-06-07 15:26:45 +02:00
Jörg Thalheim
574bacb9ba bump version t0 1.3.0 2024-06-07 15:24:06 +02:00
Jörg Thalheim
f6ea5ab035
Merge pull request #329 from nix-community/joerg-ci
reduce RAM requirements to 1GB
2024-06-07 15:23:19 +02:00
Jörg Thalheim
a348625d82 reduce RAM requirements to 1GB 2024-06-07 15:18:31 +02:00
Jörg Thalheim
be8077ccaf migrate to gpt type from legacy table type 2024-06-07 13:12:36 +00:00
Jörg Thalheim
3eb37ae419 update testsuite to new nixos test api 2024-06-07 13:12:36 +00:00
Jörg Thalheim
f931e0db1f update default nixos kexec image to 24.05 2024-06-07 13:12:36 +00:00
lassulus
663d4b2bc0
Merge pull request #327 from Prince213/extra-files
Misc fixes to --extra-files
2024-05-28 10:05:20 +02:00
Sizhe Zhao
09f1f8306b
fix(src/nixos-anywhere): make root own copied files 2024-05-27 10:43:10 +08:00
Sizhe Zhao
5770dd84d2
fix(src/nixos-anywhere): extra-files expects a path 2024-05-27 10:42:04 +08:00
Sizhe Zhao
d8b8cc69b0 feat(terraform): don't mention rsync 2024-05-26 09:13:58 +00:00
Sizhe Zhao
131a6e3ec0 feat(src): remove rsync from runtimeDeps 2024-05-26 09:13:58 +00:00
Sizhe Zhao
62e554d177 feat(src/nixos-anywhere): don't use rsync 2024-05-26 09:13:58 +00:00
Sizhe Zhao
781d4ab156 fix(README): fix ram requirements without kexec 2024-05-26 08:57:19 +00:00
Jessica Del
da67ead960 Fix typo 2024-05-26 08:53:21 +00:00
Jessica Del
7528e6bcf8 use-without-flakes: Fix arguments of --store-paths 2024-05-26 08:53:21 +00:00
fidgetingbits
3f975977d9 Don't fail if .ssh/authorized_keys is missing 2024-05-26 08:47:21 +00:00
lassulus
242444d228
Merge pull request #313 from acid-bong/patch-1
src/get-facts.sh: remove the bashism
2024-05-08 08:42:28 +02:00
lassulus
b965b373f0
Merge pull request #314 from Prince213/typo-fix
fix(docs/howtos/no-os): fix typo
2024-05-08 08:41:45 +02:00
Sizhe Zhao
b27868f1a1
fix(docs/howtos/no-os): fix typo 2024-05-08 11:20:42 +08:00
Acid Bong
2f5b494e19
src/get-facts.sh: remove the bashism 2024-05-07 20:26:26 +03:00
Jörg Thalheim
782b61b0b6
Merge pull request #311 from a-kenji/bump/version
bump version to currently released version
2024-05-07 10:57:15 +02:00
a-kenji
2a30f395b6 bump version to currently released version 2024-05-07 10:06:15 +02:00
Maciej Krüger
313ac878e9 Detect IPv6 automatically, Rewrite kexec url
This uses ip r g 1.1.1.1 to test if there's any route to an IPv4
internet host

If that fails and the url is a github.com one it will change github.com
to gh-v6.com,
as specified in the documentation

This saves the user from an extra manual step and makes nixos-anywhere
better

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-04-30 06:48:37 +00:00
zimbatm
3170c45be4 fix bashism
[[ ]] is not available in POSIX sh, and test -o is not well defined
either.

Move the facts-gathering script out so it can be tested with shellcheck.
2024-04-29 16:23:53 +00:00
Victor Hugo Aguiar Pacce
88a60aa8b8 Allow installs through terraform to work on different ports
Signed-off-by: Victor Hugo Aguiar Pacce <victor.pacce@ossystems.com.br>
2024-04-29 16:19:09 +00:00
lassulus
4958ff8bf5
Merge pull request #306 from a-kenji/patch-1
docs: fix typos in quickstart
2024-04-23 15:11:38 +02:00
lassulus
5f06770db9
Merge pull request #305 from a-kenji/add-password
feat: add copy-password
2024-04-23 12:28:33 +02:00
a-kenji
a2b5fcaa9e feat: add env-password
Allow setting the bootstrap password on invocation of
`nixos-anywhere`.

This makes use of the `sshpass` program, to provide `ssh-copy-id` with
the password.

The `runtimeDeps` change in the following way:

sshpass: ∅ → 1.10, +29.5 KiB

Improves the usage especially together with the iso image installers of `nixos-images`.
2024-04-23 11:54:31 +02:00
Jörg Thalheim
a5f5d01ec1 fix mergify configuration 2024-04-23 11:31:27 +02:00
a-kenji
5c23bd64c2 docs: fix typos in quickstart 2024-04-23 10:35:44 +02:00
Paul Haerle
3f97a42aad
Merge pull request #303 from a-kenji/phrasing
help: fix phrasing
2024-04-20 12:32:42 +02:00
a-kenji
5561f00281 help: fix phrasing 2024-04-19 16:17:59 +02:00
Jörg Thalheim
05854a92a5
Merge pull request #293 from nbdd0121/main
Switch to root user if non-root user is used for nixos installer
2024-04-10 10:46:07 +02:00
a-kenji
fe35eb255f
Fix: link to official wiki (#299) 2024-04-10 01:17:53 +02:00
Jörg Thalheim
dfa627fdfa terraform: link to nixos wiki as an example 2024-04-06 17:43:43 +00:00
Gary Guo
52f932b262 Switch to root user if non-root user is used for nixos installer 2024-03-23 00:47:24 +00:00