Commit Graph

485 Commits

Author SHA1 Message Date
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
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
Bruno Bigras
c34fd217b1
terraform/all-in-one.md: add syntax highlighting (#292) 2024-03-22 10:22:35 +01:00
Jörg Thalheim
c4f0d1f3de Revert "removed duplicate "/tmp/disk-1.key /tmp/disk-1.key""
This reverts commit e8a9227b1b.
2024-03-14 18:06:32 +00:00
Shea Levy
31c945ed58 Allow using doas in place of sudo.
doas is much smaller and is used by some distributions, such as
Alpine, instead of sudo.
2024-02-28 19:13:04 +00:00
Shea Levy
3572a7c47e Only require sh, not bash, on the remote machine 2024-02-28 19:13:04 +00:00
c_14
b6abac7b0e fix container detection
When systemd-detect-virt exists and we aren't in a container,
is_container contains "y none none" instead of none.

1. has outputs y/n to stdout which we need to remove
2. has always returns truthy, we need to check it's string value not the
   exit value
3. systemd-detect-virt --container returns non-zero when we aren't in a
   container, use if then else instead of && ||
2024-02-21 23:34:50 +00:00
Jörg Thalheim
9e34fce5da
Merge pull request #276 from srounce/patch-1
feat(terraform): re-export store path result from all-in-one module
2024-02-22 06:25:52 +07:00
Jörg Thalheim
06e70b3481
Merge pull request #281 from we-do-it-lu/patch-2
removed duplicate "/tmp/disk-1.key /tmp/disk-1.key"
2024-02-22 06:25:32 +07:00
Jörg Thalheim
d623c0094f
Merge pull request #282 from we-do-it-lu/patch-3
Typo
2024-02-22 06:25:18 +07:00
JayDeLux
7e7bb3b367
Typo 2024-02-12 15:11:19 +01:00
JayDeLux
e8a9227b1b
removed duplicate "/tmp/disk-1.key /tmp/disk-1.key" 2024-02-12 12:03:41 +01:00
Jonas Chevalier
d16702387b
Update all-in-one.md 2024-01-23 21:08:04 +01:00
Samuel Rounce
f71c9427c8
Add result output to all-in-one.md 2024-01-23 12:53:07 +00:00
Samuel Rounce
60d3b38bcb
feat(terraform): re-export store path result from all-in-one 2024-01-23 12:05:32 +00:00
mangoiv
4c94cecf3d [feat] remove -t parameter and replace it with a check of whether it's tty 2024-01-07 12:12:16 +00:00
Jörg Thalheim
2facb632d7 detect containers
In particular people might use openvz containers, which doesn't support kexec.
2024-01-07 12:07:28 +00:00
JayDeLux
6f7c428c4a Little typo 2024-01-05 21:24:50 +00:00
Benedikt Heine
1d0b24b0a8 Fix typos in ipv6.md 2024-01-03 09:49:28 +00:00
Jörg Thalheim
d2911784c3 add nixos test fro build-on-remote 2024-01-01 01:05:57 +00:00
Michael Hoang
7671a880e3 don't require trusted user for --build-on-remote 2024-01-01 01:05:57 +00:00
Michael Hoang
38d8eea71f terraform/install: support build_on_remote 2024-01-01 01:05:57 +00:00
Jörg Thalheim
b20ded671e README: fix treefmt 2024-01-01 01:55:29 +01:00
Jörg Thalheim
079e8c741a
Merge pull request #267 from SuperSandro2000/fix-links
Change some links to no longer rely on redirects
2024-01-01 01:29:12 +01:00
Jörg Thalheim
90894fe529 README: fix links 2024-01-01 01:24:34 +01:00
Sandro Jäckel
7126b644df
Change some links to no longer rely on redirects 2023-12-29 23:04:43 +01:00
Jörg Thalheim
3a87ed3cb0
use stable suffix for the last nixos release (#262)
flake.lock: Update

Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/944d338d24a9d043a3f7461c30ee6cfe4f9cca30' (2023-10-27)
  → 'github:nix-community/disko/1144887c6f4d2dcbb2316a24364ef53e25b0fcfe' (2023-12-06)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
  → 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01)
• Removed input 'nixos-2305'
• Updated input 'nixos-images':
    'github:nix-community/nixos-images/87bccdbdfbeb07e0c4fb4c2ec3d71986e8fa24d9' (2023-10-17)
  → 'github:nix-community/nixos-images/d655cc02fcb9ecdcca4f3fb307e291a4b5be1339' (2023-12-12)
• Removed input 'nixos-images/nixos-2305'
• Added input 'nixos-images/nixos-2311':
    follows 'nixos-stable'
• Added input 'nixos-stable':
    'github:NixOS/nixpkgs/cf28ee258fd5f9a52de6b9865cdb93a1f96d09b7' (2023-12-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2542afeb0d81db4d1e5bc8df8354cbdcc29c2f53' (2023-11-17)
  → 'github:nixos/nixpkgs/120a26f8ce32ac2bdc0e49a9fed830b7446416b4' (2023-12-11)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
  → 'github:numtide/treefmt-nix/5ff2cdbe0db6a6f3445f7d878cb87d121d914d83' (2023-12-11)

flake.lock: Update

Flake lock file updates:

• Removed input 'nixos-2311'
• Updated input 'nixos-images':
    'github:nix-community/nixos-images/b7719bef5d25f99297bc98c70db78d95e9eb2f71' (2023-12-10)
  → 'github:nix-community/nixos-images/d655cc02fcb9ecdcca4f3fb307e291a4b5be1339' (2023-12-12)
• Updated input 'nixos-images/nixos-2311':
    follows 'nixos-2311'
  → follows 'nixos-stable'
• Added input 'nixos-stable':
    'github:NixOS/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/82787a00628b1c5cabd0d43a657c6304b8451620' (2023-12-09)
  → 'github:nixos/nixpkgs/120a26f8ce32ac2bdc0e49a9fed830b7446416b4' (2023-12-11)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/afdd5e48a0869b389027307652a658051c0d2f96' (2023-12-10)
  → 'github:numtide/treefmt-nix/390018a9398f9763bfc05ffe6443ce0622cb9ba6' (2023-12-12)
2023-12-12 15:27:17 +01:00
Paul Haerle
1dc6b529e6
nixos 23.05 -> 23.11 (#261) 2023-12-12 11:21:01 +01:00
Jörg Thalheim
73a6d3fef4 installer: drop unused args 2023-11-28 14:50:34 +00:00
Adrien Vakili
98daa9c5b2 Fix url for example repo 2023-11-27 19:04:59 +00:00
phaer
7351eb2f45 fix example url 2023-11-25 12:19:12 +00:00
Pol Dellaiera
9c3de7d78d Replace numtide with nix-community 2023-11-23 09:09:02 +00:00
Jörg Thalheim
5317af5f14 drop rsync patch again 2023-11-18 19:34:49 +00:00
Jörg Thalheim
0ff250c084 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0ac7840a74c53b62f124e86fcde8cdd45f2bc131' (2023-11-01)
  → 'github:nixos/nixpkgs/2542afeb0d81db4d1e5bc8df8354cbdcc29c2f53' (2023-11-17)
2023-11-18 19:34:49 +00:00