hosts: ship a copy of this repo in /etc/nix/source
This commit is contained in:
parent
5202c572fb
commit
539ee010ab
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, sane-lib, ... }:
|
||||
|
||||
{
|
||||
# allow `nix-shell` (and probably nix-index?) to locate our patched and custom packages
|
||||
|
@ -10,4 +10,8 @@
|
|||
# to avoid switching so much during development
|
||||
"nixpkgs-overlays=/home/colin/dev/nixos/hosts/common/nix-path/overlay"
|
||||
];
|
||||
|
||||
# ensure new deployments have a source of this repo with which they can bootstrap.
|
||||
# could get away with only shipping this on the `imgs.FOO` or `nixosSystems.rescue` targets, if we *really* want to save space/deploys.
|
||||
sane.fs."/etc/nix/source" = sane-lib.fs.wantedSymlinkTo ../../..;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue