Compare commits

..

No commits in common. "6930508add54338d56d98547bf1f2c408cb610b1" and "6efe35770fa92cbb6293cf56afc5f53af09046a2" have entirely different histories.

2 changed files with 8 additions and 13 deletions

View file

@ -7,7 +7,6 @@
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
@ -15,7 +14,8 @@
"xhci_pci"
"thunderbolt"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
@ -29,10 +29,6 @@
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/FF65-E2AC";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
swapDevices = [ { device = "/dev/disk/by-uuid/bd64a1ba-f259-4b64-88cd-5585b9345f5a"; } ];
@ -42,9 +38,6 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s13f0u3u1.useDHCP = lib.mkDefault true;
# networking.interfaces.vboxnet0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -231,6 +231,7 @@ func Dry(verbose bool, minimal bool, rest ...string) {
log.Info("no packages in minimal set to build")
os.Exit(0)
}
cmd.Args = append(cmd.Args, append(drvs, "--no-link")...)
spinnerMsg = "evaluting for minimal build needs"
} else {
log.Debug("evalutating full nixosConfiguration")
@ -279,6 +280,9 @@ func NixBuild(nom bool, minimal bool, rest ...string) {
if o.resetCache {
cmd.Args = append(cmd.Args, "--narinfo-cache-positive-ttl", "0")
}
// if o.inCI {
// o.ciPreBuild(cmd)
// }
if minimal {
log.Debug("populating args with derivations not already built")
drvs := systemPathDrvsToBuild()
@ -286,11 +290,9 @@ func NixBuild(nom bool, minimal bool, rest ...string) {
log.Info("nothing to build. exiting...")
os.Exit(0)
}
cmd.Args = append(cmd.Args, append(drvs, "--no-link")...)
cmd.Args = append(cmd.Args, drvs...)
}
if !o.inCI {
cmd.Args = append(cmd.Args, "--log-format", "multiline")
}
cmd.Args = append(cmd.Args, rest...)
exitWithCommand(cmd)
}