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; specialArgs = config.lib.summon name lib.id;
modules = [ modules = [
host.nixos host.nixos
(withSystem host.system ({ pkgs, ... }: { (withSystem host.system ({ config, pkgs, ... }: {
nixpkgs = { inherit pkgs; }; nixpkgs.pkgs = pkgs // config.shadows;
})) }))
] ++ config.cluster.config.out.injectNixosConfig name; ] ++ config.cluster.config.out.injectNixosConfig name;
}; };