From a6eec9477df0d5005b48f92df2b055f147876ec3 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Wed, 7 Aug 2024 15:29:35 +0200 Subject: [PATCH] Use minimal profile for NixOS checks --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c2a94f0..6088298 100644 --- a/flake.nix +++ b/flake.nix @@ -60,11 +60,13 @@ nixos = (nixpkgs.lib.nixosSystem { inherit system; modules = [ - self.nixosModules.default { + self.nixosModules.default + ({ modulesPath, ... }: { + imports = [ (modulesPath + "/profiles/minimal.nix") ]; boot.loader.grub.enable = false; fileSystems."/".device = "nodev"; system.stateVersion = stateVersion; - } + }) ]; }).config.system.build.toplevel; });