Jörg Thalheim
78065dbf9f
fix sysusers in noninteractive case
2024-08-02 08:31:04 +00:00
Jörg Thalheim
067aa8908b
move perlless profile to noninteractive profile
...
this borked our iso
2024-07-21 19:09:29 +02:00
name_snrl
5b9bbfc570
fix ipv4 via ipv6 route
...
fix #230
2024-07-19 18:05:11 +00:00
Johannes Bornhold
e2fd329c3a
Allow to pass extra flags into the kexec call via KEXEC_EXTRA_FLAGS
2024-06-10 04:36:59 +00:00
Jörg Thalheim
75d8ee3810
drop no-bootloader overlay for nixpkgs-unstable
2024-06-10 04:26:14 +00:00
Jörg Thalheim
faed128eee
nixos-test: reduce RAM to 1GB
2024-06-07 13:17:09 +00:00
Jörg Thalheim
3e2e064af0
upgrade to nixos 24.05
2024-06-07 10:37:00 +02:00
Jörg Thalheim
310f23d6d5
add nixos-install
...
fixes #222
2024-05-26 09:52:08 +02:00
Jörg Thalheim
8c9cab8c44
also disable man page to save a few mb
2024-05-19 15:22:03 +00:00
Jörg Thalheim
2c54ebe7b8
Reduce memory requirements to 1GB
2024-05-19 14:43:29 +00:00
Jörg Thalheim
c647a22429
remove uneeded traceVal
2024-05-19 16:30:55 +02:00
Jörg Thalheim
5c77e174db
use newer nano.enable option
2024-05-19 14:28:51 +00:00
Jörg Thalheim
d6cfce2feb
remove grub and syslinux from NixOS
2024-05-19 14:28:51 +00:00
Jörg Thalheim
966d756930
include perlless profile in NixOS
...
conditionally include perlless module
relax perlless constraint
2024-05-19 14:28:51 +00:00
Jörg Thalheim
f35cc93d09
rewrite activation script with a systemd-initrd compatible version
2024-05-19 14:28:51 +00:00
Jörg Thalheim
635d1badf2
image-installer: expose network-status as a program
2024-05-07 09:34:47 +00:00
Jörg Thalheim
f23d47cef8
image-installer: make json a bit shorter
2024-04-17 12:23:50 +02:00
Jörg Thalheim
8d35d4a180
add image-installer
...
add image-installer
2024-04-17 11:56:46 +02:00
Jörg Thalheim
2137ed4108
delete empty file
2024-04-16 12:23:54 +02:00
Shea Levy
c090b94b08
kexec-run: Get pubkeys for DOAS_USER.
...
doas is a smaller replacement for sudo, used by some
distributions (such as Alpine).
2024-02-28 19:11:52 +00:00
Antonio Yang
17efe22de1
add rsync to installer
2024-01-16 07:35:44 +00:00
Mic92
a337c75e33
non-interactive: add missing udev rules ( #163 )
...
non-interactive: add missing udev rules
* Update nix/zfs-minimal.nix
Co-authored-by: Gary Guo <gary@garyguo.net>
2024-01-03 09:54:53 +00:00
Jörg Thalheim
56b5279131
fix kexec-syscall-auto check
2023-12-24 07:07:56 +00:00
Jörg Thalheim
eaf2d21fa9
disable kexec-syscall-auto flag on old kernels
2023-12-23 17:18:52 +00:00
Jörg Thalheim
db63ed890f
upgrade zfs on aarch64
2023-12-23 02:20:46 +01:00
Jörg Thalheim
73c9e5e338
disable installer channel in a single place
2023-12-10 11:57:48 +01:00
phaer
1109a26efb
build 23.11, don't build 23.05 anymore
2023-12-09 16:39:12 +00:00
Jörg Thalheim
bebc30e7fd
also copy machine-id into installer
...
This can help with keeping the same dhcp leases when the dhcp server uses DUID rather than mac addresses
2023-11-22 10:45:18 +01:00
Jörg Thalheim
971b6849d5
add nix-settings from srvos
...
if used as a recovery system, it's useful to have flakes etc enabled.
2023-11-19 13:23:43 +01:00
Jörg Thalheim
c0a2c19f83
add comment for lvm raid
2023-11-12 12:34:58 +01:00
zimbatm
a8fbf192c7
load dm-raid kernel module
...
Fixes https://github.com/nix-community/nixos-anywhere/issues/249
2023-11-12 11:43:01 +01:00
Gary Guo
7d89d7c99f
Copy ecdsa/sk keys from /root/.ssh/authorized_keys
2023-11-08 16:13:10 +00:00
Jörg Thalheim
1afdae78b7
reduce test in VM to 1.2 GB RAM
2023-11-02 13:01:36 +01:00
Jörg Thalheim
fba4a2bf0d
apply nixpkgs-fmt
2023-11-02 10:43:57 +01:00
Jörg Thalheim
75d7180dc1
netboot-installer: also enable ipv6 router advertisment
2023-11-02 10:43:21 +01:00
Jörg Thalheim
8239d6079a
no longer depend on dhcpcd for dhcp networking
2023-11-02 10:43:08 +01:00
Jörg Thalheim
d84d1b296b
installer: useNetworkd consistently
2023-10-28 16:11:35 +02:00
Felix Buehler
e62ab61f81
fix some typos
2023-10-16 23:22:54 +02:00
Jörg Thalheim
f11fd49c78
kexec-installer: re-enable kexec-syscall-auto
...
Seems like GCP changed something about their boot process and the same instance types that failed to kexec, now just works.
This fixes secureboot as well: https://github.com/nix-community/nixos-images/issues/128
2023-08-26 19:36:51 +02:00
Jörg Thalheim
e73cbf20a3
add missing gptfdisk
...
This is needed by disko for gpt
2023-07-04 18:07:03 +02:00
Jörg Thalheim
a7f73290d5
nixos noninteractive: re-add missing filesystems
2023-06-11 07:31:34 +02:00
dantefromhell
eafead23ae
Add zfs packages
...
ZFS related binaries like `zpool`, `zfs` and `zdb` were missing from the kexec image.
This PR fixes the following issues I encountered during testing in the OVH "Public Cloud":
- Machines pre-installed with Debian 11 print error `zdb: command not found` during `disk-deactivate` when trying to remove `/dev/sda14`
- Trying to create a simple zpool + zfs dataset that is mounted as `/` fails with `zpool: command not found`
On OVH machines the installer would print an error being unable to locate the `zdb` binary,
2023-05-22 00:01:53 +00:00
Jörg Thalheim
25f782b4ce
add netboot-installer-nixos-unstable
2023-05-15 15:40:39 +02:00
Jörg Thalheim
9089946fc0
move out code from kexec-installer into its own module
2023-05-15 14:56:00 +02:00
Jörg Thalheim
d7311ed7f8
add missing parted package back to 22.11 release
2023-05-15 13:32:59 +02:00
Jörg Thalheim
8451894552
kexec-installer: add smoketest for binaries
2023-05-15 13:32:59 +02:00
Jörg Thalheim
4ad9c55cf2
kexec-installer: use latest kernel compatible with zfs
2023-05-15 13:32:59 +02:00
Jörg Thalheim
3db198a018
kexec-installer: print dmesg if kexec --load fails
...
In some cases dmesg contains interesting errors
2023-05-15 13:32:59 +02:00
Jörg Thalheim
8d32c7409c
kexec-installer/test: use our kexecTarball directly
...
before we were importing the configuration into a nixos module.
Now we are actually using our unmodified tarball.
This saves some rebuilds and is closer to what we ship.
2023-05-15 13:32:59 +02:00
Jean-François Roche
b2256e68d3
feat: speed up kexec boot
...
Do not check if the new kernel is correctly copied in memory.
On ARM64 (Hetzner CAX21, CAX41) it improves boot from 4 minutes to a few seconds.
Option introduced in kexec-tools here: 0481e9ed61
More on this https://eastrivervillage.com/kexec-tools-with-the-hidden-purgatory/
2023-05-08 10:30:28 +02:00