Commit Graph
311303 Commits
Author SHA1 Message Date
Graham Christensen bd38b059ea NixOS/amazonImageZfs: init
Introduce an AWS EC2 AMI which supports aarch64 and x86_64 with a ZFS
root.

This uses `make-zfs-image` which implies two EBS volumes are needed
inside EC2, one for boot, one for root. It should not matter which
is identified `xvda` and which is `xvdb`, though I have always
uploaded `boot` as `xvda`.
2021-08-25 10:42:35 -04:00
Graham Christensen 076f6e2d94 nixos/make-zfs-image: init
This is a private interface for internal NixOS  use. It is similar
to `make-disk-image` except it is much more opinionated about what
kind of disk image it'll make.

Specifically, it will always create *two* disks:

1. a `boot` disk formatted with FAT in a hybrid GPT mode.
2. a `root` disk which is completely owned by a single zpool.

The partitioning and FAT decisions should make the resulting images
bootable under EFI or BIOS, with systemd-boot or grub.

The root disk's zpools options are highly customizable, including
fully customizable datasets and their options.

Because the boot disk and partition are highly opinionated, it is
expected that the `boot` disk will be mounted at `/boot`. It is
always labeled ESP even on BIOS boot systems.

In order for the datasets to be mounted properly, the `datasets`
passed in to `make-zfs-image` are turned in to NixOS configuration
stored at /etc/nixos/configuration.nix inside the VM.
NOTE: The function accepts a system configuration in the `config`
argument. The *caller* must manually configure the system
in `config` to have each specified `dataset` be represented
by a corresponding `fileSystems` entry.

One way to test the resulting images is with qemu:

```sh
boot=$(find ./result/ -name '*.boot.*');
root=$(find ./result/ -name '*.root.*');

echo '`Ctrl-a h` to get help on the monitor';
echo '`Ctrl-a x` to exit';

qemu-kvm \
    -nographic \
    -cpu max \
    -m 16G \
    -drive file=$boot,snapshot=on,index=0,media=disk \
    -drive file=$root,snapshot=on,index=1,media=disk \
    -boot c \
    -net user \
    -net nic \
    -msg timestamp=on
```
2021-08-25 10:42:35 -04:00
Michael WeissandGitHub f8737848af Merge pull request #135576 from r-ryantm/auto-update/vpcs
vpcs: 0.8.1 -> 0.8.2
2021-08-24 22:00:01 +02:00
Silvan MosbergerandGitHub 249710d95c Merge pull request #135568 from DeterminateSystems/zfs-expand-on-boot
ZFS: expand on boot
2021-08-24 21:58:48 +02:00
SandroandGitHub adc409264c Merge pull request #135476 from sikmir/qgis 2021-08-24 21:45:17 +02:00
Michael RaskinandGitHub c82702d807 Merge pull request #135582 from blitz/acpi_call
acpi_call: 1.2.1 -> 1.2.2
2021-08-24 19:33:07 +00:00
Your Name 4bb4bcc30c services.zfs.expandOnBoot: support expanding pools on boot
Either enumerating a list of pools to expand or expanding
all pools on boot.
2021-08-24 15:01:08 -04:00
Ryan MulliganandGitHub f28c62759b Merge pull request #135159 from r-ryantm/auto-update/python3.8-envisage
python38Packages.envisage: 5.0.0 -> 6.0.1
2021-08-24 11:31:11 -07:00
Julian Stecklina 016e8cf78c acpi_call: 1.2.1 -> 1.2.2 2021-08-24 20:26:28 +02:00
Ryan MulliganandGitHub 3a97096824 Merge pull request #135572 from r-ryantm/auto-update/tailscale
tailscale: 1.12.3 -> 1.14.0
2021-08-24 11:25:33 -07:00
Fabian AffolterandGitHub 503209808c Merge pull request #135562 from fabaff/bump-exploitdb
exploitdb: 2021-08-21 -> 2021-08-24
2021-08-24 19:56:59 +02:00
Fabian AffolterandGitHub ad2400e88e Merge pull request #135560 from fabaff/bump-mdformat
python3Packages.mdformat: 0.7.8 -> 0.7.9
2021-08-24 19:51:10 +02:00
Martin WeineltandGitHub aa24811f10 Merge pull request #135475 from Flakebi/paperless
paperless-ng: 1.4.5 -> 1.5.0
2021-08-24 19:47:31 +02:00
R. RyanTM 517b0b0d05 vpcs: 0.8.1 -> 0.8.2 2021-08-24 16:41:27 +00:00
Ryan MulliganandGitHub ba2e930fcb Merge pull request #135201 from r-ryantm/auto-update/tendermint
tendermint: 0.34.8 -> 0.34.12
2021-08-24 09:34:02 -07:00
Ryan MulliganandGitHub e02fbd0065 Merge pull request #133438 from figsoda/sx-module
nixos/sx: init
2021-08-24 09:33:07 -07:00
Ryan MulliganandGitHub 5391469a11 Merge pull request #134724 from r-ryantm/auto-update/python3.8-pyTelegramBotAPI
python38Packages.pytelegrambotapi: 3.7.9 -> 3.8.2
2021-08-24 09:31:24 -07:00
Ryan MulliganandGitHub cb83436d12 Merge pull request #135350 from r-ryantm/auto-update/otpauth
otpauth: 0.3.4 -> 0.3.5
2021-08-24 09:06:34 -07:00
Ryan MulliganandGitHub 8c2e2ffe95 Merge pull request #135212 from r-ryantm/auto-update/stacks
stacks: 2.55 -> 2.59
2021-08-24 09:03:17 -07:00
Ryan MulliganandGitHub a4af44a85f Merge pull request #135512 from r-ryantm/auto-update/kafkacat
kafkacat: 1.6.0 -> 1.7.0
2021-08-24 09:02:39 -07:00
R. RyanTM 54d50d3bf8 tailscale: 1.12.3 -> 1.14.0 2021-08-24 15:23:01 +00:00
SandroandGitHub 6f8d57aca7 Merge pull request #135528 from SuperSandro2000/wezterm
wezterm: cleanup depedencies, drop steveej from maintainers
2021-08-24 16:46:15 +02:00
Fabian Affolter 2cd322f1ba exploitdb: 2021-08-21 -> 2021-08-24 2021-08-24 16:13:00 +02:00
Fabian Affolter cfc3b9c632 python3Packages.mdformat: 0.7.8 -> 0.7.9 2021-08-24 16:08:33 +02:00
Fabian AffolterandGitHub 24ecbeee3c Merge pull request #130858 from fabaff/bump-bitarray
python3Packages.bitarray: 2.2.1 -> 2.3.1
2021-08-24 15:56:07 +02:00
Ryan MulliganandGitHub 25c7d01a52 Merge pull request #135498 from r-ryantm/auto-update/deno
deno: 1.13.1 -> 1.13.2
2021-08-24 06:51:41 -07:00
SandroandGitHub 4ed3374da7 Merge pull request #135548 from qowoz/gh
gh: 1.14.0 -> 2.0.0
2021-08-24 15:32:53 +02:00
SandroandGitHub 5e34e5eacd rehex: 0.3.1 -> 0.3.91 (#135437)
* rehex: 0.3.1 -> 0.3.91

* Apply suggestions from code review
2021-08-24 15:32:28 +02:00
maralornandGitHub 823ff946b8 Merge pull request #135392 from r-ryantm/auto-update/vaultenv
vaultenv: 0.13.1 -> 0.13.3
2021-08-24 15:28:30 +02:00
Martin WeineltandGitHub 86ebbbee73 Merge pull request #134066 from risicle/ris-openvswitch-2.15.1
openvswitch: 2.14.2 -> 2.15.1
2021-08-24 15:00:17 +02:00
zowoq ec8a69a184 gh: 1.14.0 -> 2.0.0 2021-08-24 22:12:42 +10:00
Martin WeineltandGitHub df2f45b347 Merge pull request #135546 from mweinelt/hass-async-upnp-pin
home-assistant: pin async-upnp-client at 0.19.2
2021-08-24 14:02:34 +02:00
Martin Weinelt 8b05fd931b home-assistant: pin async-upnp-client at 0.19.2 2021-08-24 13:28:35 +02:00
José Romildo MalaquiasandGitHub 311b49dafc Merge pull request #135537 from r-ryantm/auto-update/matcha-gtk-theme
matcha-gtk-theme: 2021-08-02 -> 2021-08-23
2021-08-24 08:23:00 -03:00
R. RyanTM 71b99e70d6 matcha-gtk-theme: 2021-08-02 -> 2021-08-23 2021-08-24 09:50:17 +00:00
Vincent LaporteandVincent Laporte 3cd570dfcd ocamlPackages.tezos-stdlib: fix hash 2021-08-24 11:47:21 +02:00
Florian KlinkandGitHub 590e568465 Merge pull request #134625 from mstrangfeld/fix-helm-secrets
kubernetes-helmPlugins.helm-secrets: 3.8.1 -> 3.8.3
2021-08-24 11:46:55 +02:00
Andreas FuchsandGitHub 15d14ad150 github-runner: Allow configuring the package to use (#134661)
This addresses #120263 in part, by allowing users to override the
github-runner derivation that is bound to turn non-functional via the
self-update mechanism. (And it'll allow using a buildFHSUserEnv-based
derivation, if someone ends up building that!)
2021-08-24 11:23:39 +02:00
Sandro Jäckel 96ddd48239 wezterm: cleanup depedencies, drop steveej from maintainers 2021-08-24 10:46:53 +02:00
SandroandGitHub da497034d8 Merge pull request #135464 from baloo/baloo/mirror-list/2021 2021-08-24 10:39:02 +02:00
FlakebiandSebastian Neubauer ca8482a6a7 paperless-ng: 1.4.5 -> 1.5.0 2021-08-24 10:24:13 +02:00
SandroandGitHub 22936d81b4 Merge pull request #133763 from efim/wireguard-SoN 2021-08-24 10:24:03 +02:00
Vincent LaporteandVincent Laporte ffd387cb56 ocamlPackages.torch: 0.12 → 0.13 2021-08-24 09:40:26 +02:00
R. RyanTM 1acdcbbec7 kafkacat: 1.6.0 -> 1.7.0 2021-08-24 07:29:59 +00:00
Fabian AffolterandGitHub dcc8b48d58 Merge pull request #135495 from r-ryantm/auto-update/chezmoi
chezmoi: 2.1.5 -> 2.1.6
2021-08-24 09:06:09 +02:00
Fabian AffolterandGitHub 23cd750829 Merge pull request #135496 from r-ryantm/auto-update/cpufetch
cpufetch: 0.98 -> 1.00
2021-08-24 09:00:49 +02:00
Fabian AffolterandGitHub 876e277809 Merge pull request #135499 from r-ryantm/auto-update/disfetch
disfetch: 2.13 -> 2.14
2021-08-24 08:57:40 +02:00
Fabian AffolterandGitHub f3fef5e3b2 Merge pull request #135501 from r-ryantm/auto-update/enum4linux-ng
enum4linux-ng: 1.0.0 -> 1.0.1
2021-08-24 08:55:59 +02:00
R. RyanTM 70b7560f93 enum4linux-ng: 1.0.0 -> 1.0.1 2021-08-24 03:59:26 +00:00
Ryan MulliganandGitHub 997f4452a4 Merge pull request #135255 from r-ryantm/auto-update/picard-tools
picard-tools: 2.25.7 -> 2.26.0
2021-08-23 20:56:38 -07:00