Use minimal profile for NixOS checks

This commit is contained in:
Mikael Voss 2024-08-07 15:29:35 +02:00
parent c13f79e881
commit a6eec9477d
No known key found for this signature in database

View file

@ -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;
});