blob: 4331bf3545dbe6b8ecbd3c46b58fb7a01bdcdc7a (
plain) (
tree)
|
|
{ inputs }:
{
mkSystem =
{ hostname
, system
}:
inputs.nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs system hostname;
};
modules = [
../modules
../profiles
../hosts/${hostname}
./private-wireguard.nix
{
networking.hostName = hostname;
nixpkgs = {
config.allowUnfree = true;
overlays = [
inputs.emacs-overlay.overlay
inputs.nur.overlay
];
};
# Add each input as a registry
nix.registry = inputs.nixpkgs.lib.mapAttrs'
(n: v:
inputs.nixpkgs.lib.nameValuePair (n) ({ flake = v; }))
inputs;
}
];
};
}
|