2023-11-08 23:56:31 +00:00
|
|
|
{ pkgs, sane-lib, ... }:
|
2023-06-06 07:49:52 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
# allow `nix-shell` (and probably nix-index?) to locate our patched and custom packages
|
|
|
|
nix.nixPath = [
|
|
|
|
"nixpkgs=${pkgs.path}"
|
|
|
|
# note the import starts at repo root: this allows `./overlay/default.nix` to access the stuff at the root
|
2023-06-22 23:34:15 +00:00
|
|
|
# "nixpkgs-overlays=${../../..}/hosts/common/nix-path/overlay"
|
|
|
|
# as long as my system itself doesn't rely on NIXPKGS at runtime, we can point the overlays to git
|
|
|
|
# to avoid switching so much during development
|
|
|
|
"nixpkgs-overlays=/home/colin/dev/nixos/hosts/common/nix-path/overlay"
|
2023-06-06 07:49:52 +00:00
|
|
|
];
|
2023-11-08 23:56:31 +00:00
|
|
|
|
|
|
|
# ensure new deployments have a source of this repo with which they can bootstrap.
|
2023-11-09 17:29:41 +00:00
|
|
|
environment.etc."nixos".source = ../../..;
|
2023-06-06 07:49:52 +00:00
|
|
|
}
|