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
Jörg Thalheim
7973a36f24
Merge pull request #234 from nix-community/update_flake_lock
...
flake.lock: Update
2023-11-06 13:44:08 +01:00
Jörg Thalheim
9a36044b97
add rsync patch
2023-11-06 13:39:34 +01:00
mic92-buildbot
cf61cf5a22
flake.lock: Update
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/91af5b4a53ee8e57f4178ef58036dce49fbda91a' (2023-09-14)
→ 'github:nix-community/disko/6ad5c9c17cbd5514ce0cc2692dd82dd6d8e5d879' (2023-10-13)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
→ 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
• Updated input 'nixos-2305':
'github:NixOS/nixpkgs/16a63df66bfefec64daab3da10d414055d782d66' (2023-09-14)
→ 'github:NixOS/nixpkgs/0e1cff585c1a85aeab059d3109f66134a8f76935' (2023-10-15)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/f2ea252d23ebc9a5336bf6a61e0644921f64e67c' (2023-09-14)
→ 'github:nixos/nixpkgs/4f2b18d41893ffbf9487a86a874791a681601260' (2023-10-13)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/7a49c388d7a6b63bb551b1ddedfa4efab8f400d8' (2023-09-12)
→ 'github:numtide/treefmt-nix/0b2ffeb3ae1a7449a48a952f3e731cfa41eaf780' (2023-10-11)
flake.lock: Update
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/6ad5c9c17cbd5514ce0cc2692dd82dd6d8e5d879' (2023-10-13)
→ 'github:nix-community/disko/944d338d24a9d043a3f7461c30ee6cfe4f9cca30' (2023-10-27)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
→ 'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
• Updated input 'nixos-2305':
'github:NixOS/nixpkgs/0e1cff585c1a85aeab059d3109f66134a8f76935' (2023-10-15)
→ 'github:NixOS/nixpkgs/ecd985f22e007e6ac3152d68590c06cbbaea8c0e' (2023-11-02)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/c4c73bce65306a1e747684dd0d4bcf0ab2779585' (2023-09-11)
→ 'github:nix-community/nixos-images/87bccdbdfbeb07e0c4fb4c2ec3d71986e8fa24d9' (2023-10-17)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/4f2b18d41893ffbf9487a86a874791a681601260' (2023-10-13)
→ 'github:nixos/nixpkgs/0ac7840a74c53b62f124e86fcde8cdd45f2bc131' (2023-11-01)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/0b2ffeb3ae1a7449a48a952f3e731cfa41eaf780' (2023-10-11)
→ 'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
2023-11-06 13:35:00 +01:00
Jörg Thalheim
16f68d57b4
mention ipv6-only targets workaround
2023-11-06 12:17:39 +00:00
zowoq
2766ab35a5
README: add missing line
2023-11-06 07:20:22 +00:00
Jörg Thalheim
327cb59c37
docs: add documentation on nix-channel
2023-11-02 07:56:50 +00:00
Chris Marchesi
bea2862c63
Prefer system rsync
...
This sets up the package derivation to prefer the system rsync in the
same way the system SSH is preferred, to prevent issues that may arise
(e.g. crashes) that can arise from mixing the system SSH with the
derivation-provided rsync.
Fixes #242 .
2023-11-02 07:51:49 +00:00
Jörg Thalheim
0a929da703
only fetch pubkey in case we want to build on remote
...
This is a bit faster and also helps to mitigated cases where additionally options
that are not respected by ssh-keyscan (i.e. JumpHost) are used
2023-10-28 08:10:28 +00:00
Paul Haerle
12d5c4dd3e
Merge pull request #239 from nix-community/zfs-fix
...
umount /mnt prior to exporting zpool
2023-10-27 09:43:07 +00:00
phaer
5f9948d8e3
nix fmt
2023-10-27 11:39:36 +02:00
Paul Haerle
a30e5254a7
replace || : with || true
2023-10-27 11:35:06 +02:00
Jörg Thalheim
354fc5017c
umount /mnt prior to exporting zpool
...
potentially fixes https://github.com/nix-community/disko/issues/434
2023-10-27 11:28:49 +02:00
phaer
c1d289366b
don't recommend starting from an empty flake...
...
...as we've received feedback that this is more
confusing for newer users than starting from the
example and it's probably safe to assume more experienced
users will be able to figure it out on their own.
2023-10-20 15:09:09 +00:00
phaer
3ce8720c99
quickstart: mention the need to copy generated...
...
configs to your local machine
2023-10-20 15:09:09 +00:00