1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

tests: fix conflicts with profiles using grub

This commit is contained in:
Jörg Thalheim 2023-05-05 08:45:09 +02:00
parent d626c3f873
commit db08b1f13f

View file

@ -3,6 +3,8 @@
let let
shim = { config, ... }: { shim = { config, ... }: {
boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable && !config.boot.loader.raspberryPi.enable; boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable && !config.boot.loader.raspberryPi.enable;
# we forcefully disable grub here just for testing purposes, even though some profiles might still use grub in the end.
boot.loader.grub.enable = false;
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000"; device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";