do not use specialArgs. Closes #1
This commit is contained in:
parent
359eddeddb
commit
10d529da0a
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, artiq, ... }:
|
{ artiq }: { config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
outputs = { self, artiq }: {
|
outputs = { self, artiq }: {
|
||||||
nixosConfigurations.artiq = artiq.inputs.nixpkgs.lib.nixosSystem {
|
nixosConfigurations.artiq = artiq.inputs.nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit artiq; };
|
# Do not use specialArgs to pass the ARTIQ flake - this evaluates many attributes
|
||||||
modules = [ ./configuration.nix ];
|
# and bloats the installation. https://git.m-labs.hk/M-Labs/defenestrate/issues/1
|
||||||
|
modules = [ ( import ./configuration.nix { inherit artiq; } ) ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue