hosts: use shadows

This commit is contained in:
Max Headroom 2024-07-16 02:17:31 +02:00
parent 8938d311a5
commit f84eb995cd

View file

@ -8,8 +8,8 @@ let
specialArgs = config.lib.summon name lib.id;
modules = [
host.nixos
(withSystem host.system ({ pkgs, ... }: {
nixpkgs = { inherit pkgs; };
(withSystem host.system ({ config, pkgs, ... }: {
nixpkgs.pkgs = pkgs // config.shadows;
}))
] ++ config.cluster.config.out.injectNixosConfig name;
};