Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-05-28 | nixos/qemu-vm: fix 32-bits assert for memorySize | Raito Bezarius | 1 | -1/+1 | |
It should be an implication, rather than &&. (cherry picked from commit 09d102278285e4a8917cb94de4d578243b57f2d3) | |||||
2023-05-28 | nixos/qemu-vm: add `virtualisation.memorySize < 2048` assertion on 32bit | emilylange | 1 | -1/+7 | |
(cherry picked from commit 5dbd4f32433b4f8511c702ee8bb66e8b4fff7b87) | |||||
2023-05-25 | nixos/proxmox-image: fix qemu build failure | illustris | 1 | -5/+6 | |
(cherry picked from commit 6a20c1325880ff0f4d894fa4d008d901ceac4529) | |||||
2023-05-20 | nixos/libvirtd: enable polkit | Sandro Jäckel | 1 | -8/+11 | |
it is enforced by an assert anyway | |||||
2023-05-16 | Merge pull request #231097 from aanderse/lxc/nixos-rebuild-boot | Maciej Krüger | 1 | -0/+5 | |
2023-05-12 | treewide: pass system argument to eval-config.nix | Fabian Möller | 1 | -0/+4 | |
Calling `eval-config.nix` without a `system` from a Nix flake fails with `error: attribute 'currentSystem' missing` since #230523. Setting `system = null` removes the use of `currentSystem` and instead uses the value from the `nixpkgs` module. | |||||
2023-05-11 | Merge pull request #231140 from NixOS/rosetta-nix-build | Arian van Putten | 1 | -1/+9 | |
modules/rosetta: configure nix build sandbox to use rosetta | |||||
2023-05-10 | nixos/*: remove boot.grub.version | ajs124 | 2 | -2/+0 | |
2023-05-10 | modules/rosetta: configure nix build sandbox to use rosetta | Arian van Putten | 1 | -1/+9 | |
With this we can do x86_64 builds on aarch64 | |||||
2023-05-10 | nixos/lxc-container: ensure /sbin/init is updated on nixos-rebuild boot | Aaron Andersen | 1 | -0/+5 | |
2023-05-08 | Merge pull request #229313 from mped-oticon/mped_proxmox_assert | Ryan Lahfa | 1 | -0/+16 | |
nixos/proxmox-image: Disable O_DIRECT to fix assert when writing to tmpfs | |||||
2023-05-08 | nixos/proxmox-image: Disable O_DIRECT to fix assert | Mark Ruvald Pedersen | 1 | -0/+16 | |
Context summary: 'vma create' can't otherwise write to tmpfs such as /dev/shm. This is important when used from non-nixos machines which may have /build as tmpfs. VMA is Proxmox's virtual machine image format that wraps QEMU images, augmenting these with proxmox-specific configuration file. proxmox-image.nix uses the VMA tool to create vma image files. The VMA tool exists as a patchset ontop of QEMU. VMA writes its output with open() and O_DIRECT flag. O_DIRECT does not work on Linux tmpfs [1]. Thus: $ vma create ~/output.vma ... # works, assuming home isn't tmpfs. $ vma create /dev/shm/output.vma ... # fails since /dev/shm is tmpfs Failure results in assert(*errp == NULL). O_DIRECT is a cache performance hint. But it currently blocks our usage of nixos-generate -f proxmox from Non-NixOS hosts and Docker. The patch here simply removes O_DIRECT: vma-writer.c later performs memalign due to O_DIRECT, but this is safe to do with or without O_DIRECT. Ideally, this should be fixed in upstream Proxmox: Perhaps by falling back to open without O_DIRECT. Another attempt to fix this SIGABRT is [2], which writes the vma file directory to $out/ folder -- however that may still be tmpfs mounted which it is in our case. [1] https://lore.kernel.org/lkml/45A29EC2.8020502@tmr.com/t/ [2] https://github.com/NixOS/nixpkgs/pull/224282 | |||||
2023-05-06 | Revert "nixos/qemu-vm: fix diskless VMs" | Vladimír Čunát | 1 | -19/+8 | |
2023-05-05 | Merge pull request #228047 from RaitoBezarius/diskless-vm | Ryan Lahfa | 1 | -8/+19 | |
nixos/qemu-vm: fix diskless VMs | |||||
2023-05-04 | virtualisation/qemu-vm: escape bash variable in shell script | Peter Kling | 1 | -1/+1 | |
Fixes #229729 | |||||
2023-05-02 | nixos/qemu-vm: make it possible to use UEFI without bootloaders | Raito Bezarius | 1 | -10/+18 | |
`useEFIBoot` is somewhat misleading, but we should make it possible to enable UEFI environment / firmware without buying into a bootloader. This makes it possible. | |||||
2023-04-25 | nixos/qemu-vm: fix diskless VMs | Raito Bezarius | 1 | -8/+19 | |
Previously, it was possible to run with a tmpfs / with `virtualisation.diskImage = null;`, this was likely broken by my changes in 4b4e4c3ef930c6106918d27a933de1b6965eff2c. It is reintroduced by disabling properly the bootloader for now, as it is complicated to make it work with. | |||||
2023-04-23 | nixos/qemu-vm: introduce `virtualisation.mountHostNixStore` option | Raito Bezarius | 1 | -2/+20 | |
Now that `useBootLoader` produces a full system image, moving disk images can be slow because they have a full Nix store in them. It does not make sense to keep the 9p mountpoint to shadow the /nix/store of the VM. We disable it if we have `useBootLoader` and introduce an option for easy overrides. | |||||
2023-04-21 | Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkd | Florian Klink | 1 | -0/+2 | |
Systemd stage 1 networkd | |||||
2023-04-21 | nixos/virtualisation/qemu-vm: remove persistBootDevice option | Raito Bezarius | 1 | -18/+1 | |
This option has been introduced in 678eed323ffd90117472cd432ebe85dddaff07f1 without realizing there was this PR inflight, unfortunately, it collide with what this PR does and make it irrelevant. Therefore, I remove it here. | |||||
2023-04-21 | nixos/qemu-vm: refactor bootDisk generation using make-disk-image | Raito Bezarius | 1 | -150/+144 | |
2023-04-21 | Merge pull request #226882 from wegank/parallels-guests-final | Weijia Wang | 1 | -1/+0 | |
systemd.services.prlshprint: fix type | |||||
2023-04-20 | Merge pull request #222080 from Stunkymonkey/nixos-optionalString | Artturi | 2 | -6/+6 | |
2023-04-19 | Merge pull request #225981 from jnsgruk/multipass-wait-online | Ryan Lahfa | 1 | -2/+2 | |
multipass: don't start until online | |||||
2023-04-18 | systemd.services.prlshprint: fix type | Weijia Wang | 1 | -1/+0 | |
2023-04-16 | Merge pull request #224171 from alan-strohm/master | Sandro | 1 | -1/+2 | |
nixos/proxmox-image: don't assume virtio0 is using local-lvm storage | |||||
2023-04-15 | Merge pull request #213036 from SuperSandro2000/cri-o/update_storagedrivers | adisbladis | 1 | -2/+5 | |
nixos/cri-o: add aufs, devmapper, and zfs to storageDrivers | |||||
2023-04-15 | nixos/cri-o: add aufs, devmapper, and zfs to storageDrivers | Calum MacRae | 1 | -2/+5 | |
Update the storageDrivers option to align with the supported drivers, as listed here: https://github.com/containers/storage/blob/master/docs/containers-storage.conf.5.md#storage-table | |||||
2023-04-14 | nixos/multipass: don't start until online | Jon Seager | 1 | -2/+2 | |
2023-04-12 | Merge pull request #204534 from SuperSandro2000/boot-tmp | Sandro | 1 | -2/+2 | |
2023-04-11 | systemd-initrd: Support secrets when boot loader doesn't | Will Fancher | 1 | -0/+2 | |
initrd-secrets: Fix service config with systemd-stage-1 | |||||
2023-04-07 | treewide: use more lib.optionalString | Felix Buehler | 2 | -6/+6 | |
2023-03-31 | nixos/proxmox-image: don't assume virtio0 is using local-lvm storage | Alan Strohm | 1 | -1/+2 | |
2023-03-30 | maintainers: Update houstdav000 -> cyntheticfox | David Houston | 1 | -1/+1 | |
2023-03-27 | nixos/podman: add example to enable network dns | Sandro Jäckel | 1 | -0/+1 | |
2023-03-27 | Merge pull request #212599 from SuperSandro2000/podman-cleanup | Sandro | 1 | -3/+2 | |
2023-03-19 | nixos/tmp: move /tmp options under boot.tmp | Sandro Jäckel | 1 | -2/+2 | |
2023-03-15 | Merge #219444: staging-next 2023-03-04 | Vladimír Čunát | 1 | -7/+9 | |
2023-03-15 | Merge pull request #218482 from illustris/ec2-metadata | Sandro | 1 | -4/+3 | |
nixos/ec2: don't populate nonexistent metadata files | |||||
2023-03-12 | Merge remote-tracking branch 'origin/master' into staging-next | Martin Weinelt | 1 | -3/+18 | |
Conflicts: - pkgs/development/python-modules/aiopulse/default.nix - pkgs/development/python-modules/identify/default.nix - pkgs/development/python-modules/spur/default.nix | |||||
2023-03-12 | Merge pull request #209156 from pwaller/issue-114594 | Guillaume Girol | 1 | -3/+18 | |
nixos/grub: Name initrd-secrets by system, not by initrd | |||||
2023-03-09 | Merge master into staging-next | github-actions[bot] | 1 | -2/+2 | |
2023-03-08 | Merge pull request #217886 from lilyinstarlight/fix/qemu-vm-initrd-mkdir-0755 | Will Fancher | 1 | -2/+2 | |
nixos/qemu-vm: fix minor typo | |||||
2023-03-04 | Merge remote-tracking branch 'origin/master' into staging-next | Martin Weinelt | 1 | -7/+7 | |
2023-03-04 | nixos/virtualbox-image: remove the raw image trick | K900 | 1 | -7/+7 | |
This is slower, but the raw image thing no longer works with VirtualBox 7.0.6. | |||||
2023-03-04 | Merge master into staging-next | Frederik Rietdijk | 1 | -28/+30 | |
2023-03-04 | Merge pull request #206839 from lheckemann/stateless-vms | Linus Heckemann | 1 | -28/+30 | |
nixos/qemu-vm: allow use without a disk image | |||||
2023-02-28 | Merge remote-tracking branch 'origin/staging-next' into staging | Martin Weinelt | 2 | -2/+2 | |
2023-02-28 | Merge pull request #213604 from mikroskeem/feature/docker-local-log-driver | maxine | 1 | -1/+1 | |
nixos/docker: add "local" as valid logDriver option | |||||
2023-02-28 | Merge staging-next into staging | github-actions[bot] | 1 | -8/+0 | |