Use minimal profile for NixOS checks

This commit is contained in:
Mikael 2024-08-07 15:29:35 +02:00
parent c13f79e881
commit a6eec9477d
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

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