From e91e69b14a8bd94d37bc1e219700b3b6435edebc Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 26 Nov 2022 02:41:51 +0100 Subject: [PATCH] modules/cluster/deployment-options: add hacks to allow build on hydra --- modules/cluster/deployment-options.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/cluster/deployment-options.nix b/modules/cluster/deployment-options.nix index 4a4afcfb..0b0e0907 100644 --- a/modules/cluster/deployment-options.nix +++ b/modules/cluster/deployment-options.nix @@ -40,4 +40,13 @@ ''; }; }; + + config = { + # HACK: Avoid conflicts when building a NixOS configuration on Hydra + boot.loader.grub.enable = false; + fileSystems."/" = { + device = "rootfs"; + fsType = "tmpfs"; + }; + }; }