Will Fancher
5709754a1d
Merge pull request #237336 from zi3m5f/fix-systemd-nspawn-machineid-option
...
systemd-nspawn: fix spelling of MachineID option and add module test
2023-06-12 13:12:59 -04:00
Robert Hensing
7e63eed145
Merge pull request #237282 from isker/patch-3
...
nixos/nix-daemon: fix URL for nix.conf
2023-06-12 17:01:15 +02:00
Colin
bd77d4ae46
nixos/lemmy: support nginx
2023-06-12 09:59:11 -04:00
Robert Hensing
ed551f4ecf
Merge pull request #237218 from hercules-ci/fix-nixos-generate-config-system
...
nixos-generate-config: Fix generated hostPlatform.system
2023-06-12 12:26:56 +02:00
zi3m5f
f86645566d
nixos/tests/systemd-nspawn-configfile: init
...
Test for presence of all specified options in the generated .nspawn
config file.
Additionally test for absence of misspelled and fixed option MachineID.
2023-06-12 12:08:39 +02:00
zi3m5f
67f5dcfd94
nixos/nspawn: fix spelling of systemd.nspawn MachineID option
...
This changes option systemd.nspawn.execConfig.MachineId to MachineID.
See man page systemd.nspawn(5)
2023-06-12 12:08:15 +02:00
Ryan Lahfa
3897d52760
Merge pull request #236134 from Tom-Hubrecht/pixelfed
...
nixos/pixelfed: Fix missing permissions for nginx serving files
2023-06-12 11:59:31 +02:00
Ian Kerins
2f20e0e131
nixos/nix-daemon: fix URL for nix.conf
...
The existing URL no longer takes you somewhere useful.
2023-06-11 23:17:50 -04:00
Martin Weinelt
3cd3713412
Merge pull request #237169 from mweinelt/evcc-0.118.0
...
evcc: 0.117.4 -> 0.118.0
2023-06-12 01:14:43 +02:00
Martin Weinelt
fe2f291e17
Merge pull request #236757 from max-privatevoid/pam-kanidm
...
nixos/pam: support Kanidm
2023-06-11 20:22:00 +02:00
Robert Hensing
1350e522fa
nixos-generate-config: Fix generated hostPlatform.system
...
While the intent of the code was correct, the system string can not be used
in the substituteAll function.
See https://github.com/NixOS/nixpkgs/issues/237216
2023-06-11 19:28:51 +02:00
Max
7575e488de
nixos/tests/kanidm: test posix user creation and login
2023-06-11 17:17:43 +02:00
Max
847a7f1102
nixos/kanidm: auto-restart kanidm-unixd-tasks
2023-06-11 17:17:42 +02:00
Max
34a4165674
nixos/pam: support Kanidm
2023-06-11 17:17:42 +02:00
Martin Weinelt
9c1e60ba7d
evcc: 0.117.4 -> 0.118.0
...
https://github.com/evcc-io/evcc/releases/tag/0.118.0
Use a more approriate charger state.
2023-06-11 12:41:53 +02:00
Marillindië
e394dc22f9
xray: allow binding lower ports
...
Set CapabilityBoundingSet, AmbientCapabilities and NoNewPrivileges as described in XTLS/xray-install.
2023-06-11 09:03:50 +01:00
Winston (Winny) Weinert
d15e598bd5
rl-2305: fix typo in openjdk version note
2023-06-10 16:40:05 -05:00
Robert Hensing
493b08c410
Merge pull request #237063 from roberth/fix-systemd-boot-test
...
nixos: Fix systemd-boot test
2023-06-10 19:10:05 +02:00
Robert Hensing
5eb2425c0e
Merge pull request #237069 from roberth/fix-nixos-tests-nixos-rebuild-specialisations
...
nixosTests.nixos-rebuild-specialisations: Fix
2023-06-10 18:54:53 +02:00
Robert Hensing
0c3f416096
nixosTests.nixos-rebuild-specialisations: Fix
2023-06-10 18:25:04 +02:00
Ryan Lahfa
6262a46ba8
Merge pull request #234034 from NixOS/qemu/direct-boot
...
nixos/qemu-vm: introduce `virtualisation.directBoot`
2023-06-10 18:12:56 +02:00
Robert Hensing
a54e7d299b
nixosTests.systemd-boot.switch-test: Fix warnings
2023-06-10 17:51:44 +02:00
Robert Hensing
0d55eebcf5
nixosTests.systemd-boot.switch-test: Fix test
...
... by making the alternate configs available in machine's store.
2023-06-10 17:51:06 +02:00
Will Fancher
90d69b1634
Merge pull request #236388 from ElvishJerricco/sd-s1-networkd-stop-on-switch-root
...
systemd stage 1 networking: Stop systemd-networkd on switch-root
2023-06-10 00:35:56 -04:00
Martin Weinelt
0983c18e6a
nixos/go2rtc: add support for v4l2 video sources
...
Capturing from /dev/video* requires being member of the video group.
2023-06-09 20:20:38 +02:00
Sergey Ivanov
bbc56fd1c7
gnunet: fix systemd service config ( #151269 )
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-06-09 16:33:51 +00:00
Raito Bezarius
610f60231f
nixos/qemu-vm: introduce virtualisation.directBoot
...
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.
2023-06-09 14:51:18 +02:00
ajs124
bcb903cce8
nixos/tests/lvm2/thinpool: fix xfs creation on older kernels
2023-06-09 13:44:48 +02:00
ajs124
3bf06829ff
nixos/tests/lvm2: also build for new LTS kernel
2023-06-09 13:44:32 +02:00
Pol Dellaiera
f0fc9fe22d
Merge pull request #236567 from l0b0/fix-activate-lints
...
nixos/modules: Fix ShellCheck lints
2023-06-08 18:42:38 +02:00
Ryan Lahfa
a384c9b01d
Merge pull request #234030 from NixOS/cleanup-overlay-mounts
...
nixosTests: fix tests that relies on an empty rootfs using a bootloader
2023-06-08 18:20:23 +02:00
Raito Bezarius
89952f7bb6
nixosTests.luks: mount the host Nix store
...
Same rationale as in caf6f41e2e
.
2023-06-08 16:56:07 +02:00
Raito Bezarius
ff3936e14b
nixos/tests/lvm2/systemd-stage-1: mount the host Nix store
...
Same rationale as in caf6f41e2e
.
2023-06-08 16:56:04 +02:00
Raito Bezarius
59891e405d
nixosTests.systemd-initrd-networkd-ssh: bootDevice -> rootDevice
...
Missed deprecation fixup during the bootDisk PR.
2023-06-08 16:56:01 +02:00
Raito Bezarius
c1f0de6e20
nixosTests.systemd-initrd-luks-keyfile: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:58 +02:00
Raito Bezarius
bbfedea0a1
nixosTests.systemd-initrd-luks-password: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:55 +02:00
Raito Bezarius
efe64826c9
nixosTests.systemd-initrd-luks-tpm2: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:52 +02:00
Raito Bezarius
e190364fd7
nixosTests.systemd-initrd-networkd-ssh: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:49 +02:00
Raito Bezarius
db811f12eb
nixosTests.systemd-initrd-swraid: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:45 +02:00
Raito Bezarius
de7f3cb2fa
nixosTests.systemd-initrd-luks-fido2: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:29 +02:00
Raito Bezarius
955a77e1c4
nixosTests.systemd-initrd-btrfs-raid: mount the host Nix store
...
Same rationale as caf6f41e2e
.
2023-06-08 16:55:25 +02:00
Raito Bezarius
caf6f41e2e
nixosTests.initrd-luks-empty-passphrase: mount the host nix store
...
This is necessary because this test relies on switching the root fs to an empty one which
does not have a Nix store available in stage 1, therefore, we have to make this test
host-store only.
A better fix in the long term is to evaluate whether this is worth to enable a proper
Nix store image for it with EROFS?
2023-06-08 16:55:04 +02:00
Weijia Wang
4f40a8bdb4
Merge pull request #236640 from wegank/foundationdb-cleanup
...
foundationdb: cleanup
2023-06-08 15:50:03 +03:00
Martin Weinelt
93d26ea597
Merge pull request #236534 from NixOS/home-assistant
...
home-assistant: 2023.5.4 -> 2023.6.0
2023-06-08 14:47:11 +02:00
Weijia Wang
4b8f7098da
foundationdb: cleanup
2023-06-08 14:48:41 +03:00
Weijia Wang
0dfe118d22
Merge pull request #236259 from wegank/mongodb-drop
...
mongodb-4_2: drop
2023-06-08 14:40:30 +03:00
Tom McLaughlin
f69aff8f89
github-runner: add thomasjm as maintainer
2023-06-08 01:03:15 -07:00
Will Fancher
5d6ea734a1
systemd stage 1 networking: Stop systemd-networkd on switch-root
...
This essentially backports
https://github.com/systemd/systemd/pull/27791 . `systemd-networkd.service`
is sent the `SIGTERM` signal, but it is not required to be stopped
before `initrd-switch-root.target` is reached, despite the use of
`systemctl isolate initrd-switch-root.target`. This is because when
there is no ordering at all between two units, and a transaction stops
one and starts the other, the two operations can happen
simultaneously. This means the service could still be running when
`switch-root` actually occurs. Then, stage 2 systemd will see the
service still running and decide it doesn't need to add a start
operation for it to its initial transaction. Finally, the service
exits, but only after it's already too late. If, however, there is any
ordering at all between a stopping unit and a starting unit, then the
stop operation will be done first. This way, we ensure that the
service is properly exited before doing `switch-root`.
This is something to keep in mind going forward. There may be other
services that need this treatment. These `before` and `conflicts`
definitions are the correct way to ensure a unit is actually stopped
before you reach initrd-switch-root
2023-06-08 00:25:15 -04:00
Will Fancher
a9e34ff905
systemd stage 1 networking: Add network-pre to flush tests
...
This isn't actually wanted by any units by default.
2023-06-08 00:25:15 -04:00
Victor Engmark
8deaa732a8
refactor: Split mkdir -m …
into mkdir
+ chmod
...
As recommended by ShellCheck
<https://www.shellcheck.net/wiki/SC2174 >.
2023-06-08 15:55:40 +12:00