Raito Bezarius
0df5257b82
nixos/qemu-vm: introduce virtualisation.mountHostNixStore
option
...
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-23 23:58:46 +02:00
Florian Klink
6b27ed3229
Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkd
...
Systemd stage 1 networkd
2023-04-21 18:40:59 +02:00
Raito Bezarius
614b83a328
nixos/virtualisation/qemu-vm: remove persistBootDevice option
...
This option has been introduced in 678eed323f
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 13:00:19 +02:00
Raito Bezarius
76c7b656bf
nixos/qemu-vm: refactor bootDisk generation using make-disk-image
2023-04-21 13:00:18 +02:00
Weijia Wang
e2d6255e9e
Merge pull request #226882 from wegank/parallels-guests-final
...
systemd.services.prlshprint: fix type
2023-04-21 10:37:11 +03:00
Artturi
b83db86a9e
Merge pull request #222080 from Stunkymonkey/nixos-optionalString
2023-04-20 16:07:30 +03:00
Ryan Lahfa
645bc49f34
Merge pull request #225981 from jnsgruk/multipass-wait-online
...
multipass: don't start until online
2023-04-19 18:04:47 +02:00
Weijia Wang
8eb15c5320
systemd.services.prlshprint: fix type
2023-04-18 18:55:47 +03:00
Sandro
893f073fe1
Merge pull request #224171 from alan-strohm/master
...
nixos/proxmox-image: don't assume virtio0 is using local-lvm storage
2023-04-16 03:30:46 +02:00
adisbladis
4ab1021a1b
Merge pull request #213036 from SuperSandro2000/cri-o/update_storagedrivers
...
nixos/cri-o: add aufs, devmapper, and zfs to storageDrivers
2023-04-15 16:27:50 +12:00
Calum MacRae
7d03f1aa9f
nixos/cri-o: add aufs, devmapper, and zfs to storageDrivers
...
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-15 01:15:46 +02:00
Jon Seager
0dfc5c14d7
nixos/multipass: don't start until online
2023-04-14 11:27:57 +01:00
Sandro
603320b64f
Merge pull request #204534 from SuperSandro2000/boot-tmp
2023-04-12 21:37:47 +02:00
Will Fancher
fef26d88e2
systemd-initrd: Support secrets when boot loader doesn't
...
initrd-secrets: Fix service config with systemd-stage-1
2023-04-11 15:20:47 -04:00
Felix Buehler
327b0cff7a
treewide: use more lib.optionalString
2023-04-07 13:38:33 +02:00
Alan Strohm
121fddc901
nixos/proxmox-image: don't assume virtio0 is using local-lvm storage
2023-03-31 18:42:01 -07:00
David Houston
6e8c2760ac
maintainers: Update houstdav000 -> cyntheticfox
2023-03-30 18:50:29 -04:00
Sandro Jäckel
056be64f11
nixos/podman: add example to enable network dns
2023-03-27 08:42:29 +10:00
Sandro
6f558d3009
Merge pull request #212599 from SuperSandro2000/podman-cleanup
2023-03-27 00:05:30 +02:00
Sandro Jäckel
a5d95ac5fc
nixos/tmp: move /tmp options under boot.tmp
2023-03-19 18:49:37 +01:00
Vladimír Čunát
a86610144f
Merge #219444 : staging-next 2023-03-04
2023-03-15 17:35:39 +01:00
Sandro
83dcadaf61
Merge pull request #218482 from illustris/ec2-metadata
...
nixos/ec2: don't populate nonexistent metadata files
2023-03-15 16:53:40 +01:00
Martin Weinelt
d03d74aa67
Merge remote-tracking branch 'origin/master' into staging-next
...
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 23:28:23 +01:00
Guillaume Girol
db901673ea
Merge pull request #209156 from pwaller/issue-114594
...
nixos/grub: Name initrd-secrets by system, not by initrd
2023-03-12 18:50:33 +00:00
github-actions[bot]
98d00577f6
Merge master into staging-next
2023-03-09 06:01:01 +00:00
Will Fancher
46089f7efe
Merge pull request #217886 from lilyinstarlight/fix/qemu-vm-initrd-mkdir-0755
...
nixos/qemu-vm: fix minor typo
2023-03-08 19:17:28 -05:00
Martin Weinelt
e93e71ce44
Merge remote-tracking branch 'origin/master' into staging-next
2023-03-04 14:58:24 +01:00
K900
e8fbf83f5e
nixos/virtualbox-image: remove the raw image trick
...
This is slower, but the raw image thing no longer works with VirtualBox 7.0.6.
2023-03-04 13:39:50 +03:00
Frederik Rietdijk
8cf8d77121
Merge master into staging-next
2023-03-04 09:38:25 +01:00
Linus Heckemann
48269da315
Merge pull request #206839 from lheckemann/stateless-vms
...
nixos/qemu-vm: allow use without a disk image
2023-03-04 02:02:45 +01:00
Martin Weinelt
3686005e6e
Merge remote-tracking branch 'origin/staging-next' into staging
2023-02-28 21:17:51 +00:00
maxine
7ceeb440c1
Merge pull request #213604 from mikroskeem/feature/docker-local-log-driver
...
nixos/docker: add "local" as valid logDriver option
2023-02-28 21:47:55 +01:00
github-actions[bot]
445e4a4069
Merge staging-next into staging
2023-02-28 12:01:54 +00:00
Jon Seager
cad6488509
nixos/multipass: typo s/SyslogIdentifer/SyslogIdentifier/
2023-02-28 10:45:38 +00:00
zowoq
48642c634e
podman: remove wrapper
...
trying to get all of the podman functionality to work with the wrapper
is becoming more complicated with each release, it isn't sustainable
removing the wrapper does mean that using extraPackages will need to build from source
- remove unnecessary serviceConfig overrides
- set HELPER_BINARIES_DIR to libexec/podman
- use install.bin target on linux for podman/tmpfiles
- also installs quadlet/rootlessport in libexec
- symlink binaries from helpersBin into HELPER_BINARIES_DIR
- remove unnecessary rootlessport output
- remove unnecessary substituteInPlace
2023-02-28 18:08:29 +10:00
illustris
7e4e6e8bd7
nixos/ec2: don't populate nonexistent metadata files
2023-02-26 23:25:09 +05:30
Lily Foster
e78dc938d8
nixos/qemu-vm: fix minor typo
...
The typo creates an empty directory 0755 in initrd rootfs rather than
create the Nix store directories with mode 0755.
I guess setting the mode is not strictly necessary if it worked before
this change, but I'll leave the `-m 0755` in just in case.
2023-02-23 13:01:53 -05:00
github-actions[bot]
539195e509
Merge staging-next into staging
2023-02-20 00:03:04 +00:00
Yureka
c683aaaa1d
nixos/nixos-containers: add specialArgs option ( #216677 )
2023-02-19 21:25:04 +01:00
github-actions[bot]
c466fa7ff4
Merge staging-next into staging
2023-02-18 00:02:56 +00:00
Artturi
efd1d7ed76
Merge pull request #97677 from ryneeverett/lockkernelmodules-docker-more
2023-02-17 23:28:32 +02:00
github-actions[bot]
3b5c06282d
Merge staging-next into staging
2023-02-17 12:01:58 +00:00
zowoq
3e081095a4
Revert "podman: remove wrapper"
...
This reverts commit 02f9255044
.
broke rootlessport port forwarding
2023-02-17 20:26:02 +10:00
Florian Klink
ab566b8656
Merge pull request #208269 from ElvishJerricco/systemd-stage-1-fsck
...
Systemd stage 1 fsck
2023-02-17 10:06:39 +02:00
zowoq
02f9255044
podman: remove wrapper
...
trying to get all of the podman functionality to work with the wrapper
is becoming more complicated with each release, it isn't sustainable
removing the wrapper does mean that using extraPackages will need to build from source
- include pkgs.zfs by default in the wrapped podman used by the module so it is cached
- anyone using zfsUnstable will need to build from source
- remove unnecessary serviceConfig overrides
- set HELPER_BINARIES_DIR during build
- use install.bin target on linux for podman/tmpfiles
- also installs quadlet/rootlessport in libexec
- remove unnecessary rootlessport output
- remove unnecessary substituteInPlace
2023-02-14 19:22:24 +10:00
zowoq
04b9fcca93
nixos/podman: wrap /run/wrappers for setuid shadow binaries
...
adding it here so it only needs to be done once
2023-02-14 19:22:24 +10:00
Vanilla
3ba3e20347
nixos/virtualisation/linode-image: Migrate to new openssh options.
2023-02-12 13:06:11 +08:00
Will Fancher
a0ba973e13
qemu-vm: Simplfiy systemd-initrd /nix/store mount units
2023-02-07 22:22:39 -05:00
Will Fancher
1b39491326
systemd-stage-1: Use x-initrd.mount
for better unit dependencies
2023-02-07 22:22:39 -05:00
Anderson Torres
bc0944c06f
Merge pull request #214193 from jnsgruk/add-multipass-pkg
...
multipass: init at 1.11.0
2023-02-04 09:03:54 -03:00