forked from M-Labs/defenestrate
parent
4f4f49a217
commit
b848fd61fe
|
@ -1,4 +1,4 @@
|
||||||
{ artiq }: { config, pkgs, ... }:
|
{ config, pkgs, artiq, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
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";
|
||||||
# Do not use specialArgs to pass the ARTIQ flake - this evaluates many attributes
|
specialArgs = { inherit artiq; };
|
||||||
# and bloats the installation. https://git.m-labs.hk/M-Labs/defenestrate/issues/1
|
modules = [ ./configuration.nix ];
|
||||||
modules = [ ( import ./configuration.nix { inherit artiq; } ) ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue