14 lines
511 B
Nix
14 lines
511 B
Nix
#
|
|
# Configuration snippet to include source files in a build.
|
|
#
|
|
# vim: et:ts=2:sw=2:
|
|
#
|
|
{ config, pkgs, ... }:
|
|
{
|
|
# Make the current contents of the dotfiles repo show up at
|
|
# /etc/captured_dotfiles, so we can always find the source of the
|
|
# system closure we were built against. (This is excellent for bisecting
|
|
# generations to see where a problem started; or for passing a generation
|
|
# to another machine without encapsulating the store data.)
|
|
environment.etc.captured_dotfiles.source = ../../.;
|
|
}
|