reo101
91f0deb3bc
Export all `./nix/` flake modules Modularize `configurations` on `machines` dir Also move `toposort` images to a single attrset binding
21 lines
578 B
Nix
21 lines
578 B
Nix
{ inputs, self, lib, config, ... }:
|
|
|
|
{
|
|
perSystem = { system, ... }: {
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
overlays = lib.attrValues self.overlays ++ [
|
|
inputs.neovim-nightly-overlay.overlays.default
|
|
inputs.zig-overlay.overlays.default
|
|
inputs.nix-topology.overlays.default
|
|
inputs.wired.overlays.default
|
|
# nix-on-droid overlay (needed for `proot`)
|
|
inputs.nix-on-droid.overlays.default
|
|
];
|
|
config = {
|
|
# TODO: per machine?
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
};
|
|
}
|