Use minimal profile for NixOS checks
This commit is contained in:
parent
c13f79e881
commit
a6eec9477d
|
@ -60,11 +60,13 @@
|
||||||
nixos = (nixpkgs.lib.nixosSystem {
|
nixos = (nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
self.nixosModules.default {
|
self.nixosModules.default
|
||||||
|
({ modulesPath, ... }: {
|
||||||
|
imports = [ (modulesPath + "/profiles/minimal.nix") ];
|
||||||
boot.loader.grub.enable = false;
|
boot.loader.grub.enable = false;
|
||||||
fileSystems."/".device = "nodev";
|
fileSystems."/".device = "nodev";
|
||||||
system.stateVersion = stateVersion;
|
system.stateVersion = stateVersion;
|
||||||
}
|
})
|
||||||
];
|
];
|
||||||
}).config.system.build.toplevel;
|
}).config.system.build.toplevel;
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue