do not use specialArgs. Closes #1

master
Sebastien Bourdeauducq 2023-01-04 11:30:42 +08:00
parent 359eddeddb
commit 10d529da0a
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, artiq, ... }:
{ artiq }: { config, pkgs, ... }:
{
imports =

View File

@ -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; } ) ];
};
};
}