about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
Commit message (Collapse)AuthorAge
* fix capitalization (#254542)Valentin Gagarin2023-09-15
|
* Merge pull request #253146 from rnhmjoj/pr-anboxMichele Guerini Rocco2023-09-05
|\ | | | | anbox: unbreak
| * nixos/anbox: use `--daemon` to squash warningSamuel Dionne-Riel2023-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted in https://github.com/NixOS/nixpkgs/pull/102341 this is not actually running as a forked process. It only tells the process that it is running "as a daemon, so shut the warning up". See `daemon_` here - https://github.com/anbox/anbox/blob/9de4e87cdd05135e1c71e6eadb68bf82719cebdf/src/anbox/cmds/container_manager.cpp#L38-L79 It is **strictly** used to hide that message. Co-authored-by: Matt Votava <mvnetbiz@gmail.com>
| * nixos/anbox: allow applying changes to the imageSamuel Dionne-Riel2023-09-05
| |
| * nixos/anbox: handle new kernel configurationsSamuel Dionne-Riel2023-09-05
| |
| * nixos/anbox: mark anbox0 as unmanaged with NetworkManagerSamuel Dionne-Riel2023-09-05
| |
* | nixos/lxd: add preseed optionAdam Stephens2023-09-05
| |
* | nixos/lxd: remove with libAdam Stephens2023-09-05
| |
* | nixos/lxd: add virtual-machine support, image and moduleAdam Stephens2023-09-03
|/
* Merge master into staging-nextgithub-actions[bot]2023-08-19
|\
| * nixos/lxd-agent: init module from distrobuilder generatorAdam Stephens2023-08-18
| |
* | nixos/virtualisation.docker: Do not assert 32 bit libraries available on ARM ↵James Baker2023-08-11
|/ | | | (#246179)
* Merge pull request #232250 from YBeaugnon/libvirt-hooksFranz Pletz2023-08-09
|\ | | | | nixos/libvirtd: hooks support
| * nixos/libvirtd: add support for nixos managed libvirt hooksYoann Beaugnon2023-05-19
| | | | | | | | | | | | | | Libvirt support calling user defined hooks on certains events. Documentation can be found https://libvirt.org/hooks.html. This commit allow specifying these hooks via the virtualisation.libvirtd.hooks.<name>.* options
* | revert(proxmox-image): pull request #246120 from ↵Jake Schurch2023-08-02
| | | | | | | | | | | | | | | | | | | | | | jakeschurch/add-proxmox-image-addl-disk-size-override NOTES: @jakeschurch did not realize that is was already updated on master, but not backported to 23.05 channel Signed-off-by: Jake Schurch <jakeschurch@gmail.com>
* | Merge pull request #246120 from ↵Pol Dellaiera2023-07-30
|\ \ | | | | | | | | | | | | jakeschurch/add-proxmox-image-addl-disk-size-override proxmox-image: add additionalDiskSpace parameter as input to make-disk-image.nix
| * | respond to pr feedbackJake Schurch2023-07-30
| | | | | | | | | | | | Signed-off-by: Jake Schurch <jakeschurch@gmail.com>
| * | Update nixos/modules/virtualisation/proxmox-image.nixJake Schurch2023-07-30
| | | | | | | | | Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
| * | proxmox-image: add additionalDiskSpace parameter as input to make-disk-image.nixJake Schurch2023-07-29
| | |
* | | Merge pull request #238735 from MayNiklas/proxmox-image-settingsEmily2023-07-27
|\ \ \ | | | | | | | | nixos/proxmox-image: add additionalSpace, bootSize and diskSize options
| * | | nixos/proxmox-image: add additionalSpace, bootSize and diskSize optionsMayNiklas2023-06-21
| | | |
* | | | Merge pull request #230109 from vdot0x23/docker-extraPackagesPol Dellaiera2023-07-26
|\ \ \ \ | | | | | | | | | | nixos/docker: add extraPackages option
| * | | | nixos/docker: add extraPackages optionVictor Buttner2023-06-02
| | | | | | | | | | | | | | | | | | | | This permits easier use of some features, e.g. docker checkpoint.
* | | | | Merge pull request #233250 from SuperSandro2000/podman-timer-persistSandro2023-07-21
|\ \ \ \ \
| * | | | | nixos/podman: persist timerSandro Jäckel2023-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise the timer might never run on laptops which could be shutdown during the night
* | | | | | nixos/lxd: fix default ui packageJon Seager2023-07-17
| | | | | |
* | | | | | Merge pull request #242126 from kjeremy/vmware-guest-aarch64Sandro2023-07-14
|\ \ \ \ \ \ | | | | | | | | | | | | | | vmware-guest module: work under aarch64
| * | | | | | vmware-guest module: work under aarch64Jeremy Kolb2023-07-07
| | | | | | |
* | | | | | | Merge pull request #241314 from jnsgruk/masterRyan Lahfa2023-07-08
|\ \ \ \ \ \ \
| * | | | | | | nixos/lxd: add ui.enable option to toggle ui featureJon Seager2023-07-07
| |/ / / / / /
* / / / / / / nixos/qemu-vm: use CA certificates from hostMichael Hoang2023-07-06
|/ / / / / /
* | | | / / nixos/proxmox-image: fix example renderingSandro Jäckel2023-06-30
| |_|_|/ / |/| | | |
* | | | | Merge pull request #238596 from nikstur/qemu-vm-use-host-pkgsAtemu2023-06-26
|\ \ \ \ \ | | | | | | | | | | | | nixos/qemu-vm: use cfg.host.pkgs
| * | | | | nixos/qemu-vm: use cfg.host.pkgsnikstur2023-06-24
| | |_|/ / | |/| | |
* | | | | treewide: use optionalAttrs instead of 'else {}'Felix Buehler2023-06-25
| | | | |
* | | | | nixos/sysctl: raise default vm.max_map_count to 1048576Martino Fontana2023-06-21
|/ / / /
* | | | nixos/qemu-vm: use persistent block device namesnikstur2023-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the bespoke logic around identifying block devices. Instead of trying to find the right device by iterating over `qemu.drives` and guessing the right partition number (e.g. /dev/vda{1,2}), devices are now identified by persistent names provided by udev in /dev/disk/by-*. Before this change, the root device was formatted on demand in the initrd. However, this makes it impossible to use filesystem identifiers to identify devices. Now, the formatting step is performed before the VM is started. Because some tests, however, rely on this behaviour, a utility function to replace this behaviour in added in /nixos/tests/common/auto-format-root-device.nix. Devices that contain neither a partition table nor a filesystem are identified by their hardware serial number which is injecetd via QEMU (and is thus persistent and predictable). PCI paths are not a reliably way to identify devices because their availability and numbering depends on the QEMU machine type. This change makes the module more robust against changes in QEMU and the kernel (non-persistent device naming) and by decoupling abstractions (i.e. rootDevice, bootPartition, and bootLoaderDevice) enables further improvement down the line.
* | | | nixos/qemu-vm: introduce `virtualisation.directBoot`Raito Bezarius2023-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As with many things, we have scenarios where we don't want to boot on a disk / bootloader and also we don't want to boot directly. Sometimes, we want to boot through an OptionROM of our NIC, e.g. netboot scenarios or let the firmware decide something, e.g. UEFI PXE (or even UEFI OptionROM!). This is composed of: - `directBoot.enable`: whether to direct boot or not - `directBoot.initrd`: enable overriding the `config.system.build.initialRamdisk` defaults, useful for netbootRamdisk for example. This makes it possible.
* | | | nixos/libvirtd: don't use cp -nK9002023-06-05
| | | |
* | | | Merge pull request #235295 from nikstur/qemu-vm-improve-comments-and-docsRyan Lahfa2023-06-02
|\ \ \ \ | | | | | | | | | | nixos/qemu-vm: improve comments and option descriptions
| * | | | nixos/qemu-vm: remove grub references from useBootLoader descriptionnikstur2023-06-01
| | | | |
| * | | | nixos/qemu-vm: (re-)move old/incorrect commentsnikstur2023-06-01
| | | | |
* | | | | add release 23.05 AWS AMIsAmine Chikhaoui2023-06-01
|/ / / /
* | | | nixos/qemu-vm: fix 32-bits assert for memorySizeRaito Bezarius2023-05-27
| | | | | | | | | | | | | | | | It should be an implication, rather than &&.
* | | | Merge pull request #234266 from emilylange/qemu-vm-2047mbRyan Lahfa2023-05-27
|\ \ \ \ | | | | | | | | | | nixos/qemu-vm: add `virtualisation.memorySize < 2048` assertion on 32bit
| * | | | nixos/qemu-vm: add `virtualisation.memorySize < 2048` assertion on 32bitemilylange2023-05-26
| | | | |
* | | | | Merge pull request #233350 from GrahamDennis/grahamdennis/testing-networksRyan Lahfa2023-05-26
|\ \ \ \ \ | | | | | | | | | | | | nixos/qemu-vm: add option for named network interfaces
| * | | | | nixos/qemu-vm: add option for named network interfacesGraham Dennis2023-05-24
| |/ / / / | | | | | | | | | | | | | | | | | | | | Adds a new option to the virtualisation modules that enables specifying explicitly named network interfaces in QEMU VMs. The existing `virtualisation.vlans` option is still supported for cases where the name of the network interface is irrelevant.
* | | | | nixos/virtualisation/google-compute-config: minor refactoringlucasew2023-05-26
| | | | | | | | | | | | | | | | | | | | Signed-off-by: lucasew <lucas59356@gmail.com>
* | | | | nixos/proxmox-image: fix qemu build failureillustris2023-05-25
|/ / / /