Commit Graph

529 Commits

Author SHA1 Message Date
Jonas Chevalier
f99d120b37
Merge pull request #344 from r-vdp/main
Fix two issues caused by recent changes
2024-07-01 18:51:03 +02:00
r-vdp
d63887f9b1
Fix error caused by nix_options defaulting to null in all-in-one 2024-07-01 18:37:48 +02:00
r-vdp
194dd684ef
Fix typo that causes non-flake builds to fail 2024-07-01 18:30:35 +02:00
Jörg Thalheim
aebe3d1cc7 terraform/nix-build: use jsonencode function to pass parameter 2024-07-01 11:32:17 +00:00
misumisumi
1e93f9faa8 fix: format to json format 2024-07-01 11:32:17 +00:00
Jörg Thalheim
1fdbe4cdcd terraform/all-in-one: fix zfs decrypt example 2024-07-01 11:32:17 +00:00
Jörg Thalheim
8b907bb53c update terraform documentation 2024-07-01 11:32:17 +00:00
misumisumi
fde12bc1f0 Fix: an error where a directory could not be created when there were multiple decrypt keys 2024-07-01 11:32:17 +00:00
misumisumi
5ccebbc4cc Accept nix-option in terraform 2024-07-01 11:32:17 +00:00
Jörg Thalheim
54cbf9b7c5 docs/cli: sync with actual output 2024-06-30 16:33:51 +00:00
Jörg Thalheim
024e3d4613
Merge pull request #336 from we-do-it-lu/patch-4
Update quickstart.md
2024-06-30 16:08:47 +02:00
Michael Hoang
9216d7713b terraform/install: deal with symlinks better 2024-06-30 14:05:24 +00:00
JayDeLux
1b3053bdb6 Update quickstart.md 2024-06-30 16:00:23 +02: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