forked from M-Labs/defenestrate
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 =
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
outputs = { self, artiq }: {
|
||||
nixosConfigurations.artiq = artiq.inputs.nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit artiq; };
|
||||
modules = [ ./configuration.nix ];
|
||||
# Do not use specialArgs to pass the ARTIQ flake - this evaluates many attributes
|
||||
# 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