mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-26 04:51:26 +00:00
embed top-level flake source folder into the build
This commit is contained in:
parent
7378329891
commit
6c849e2628
|
@ -32,9 +32,12 @@
|
|||
hardware-configuration
|
||||
./configuration.nix
|
||||
{
|
||||
# embed top-level flake source folder into the build
|
||||
environment.etc."selfprivacy-config-source" =
|
||||
top-level-flake.outPath;
|
||||
# for running "nix search nixpkgs", etc
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
# dirty builds are forbidden
|
||||
# embed commit sha1; dirty builds are intentionally forbidden
|
||||
system.configurationRevision = top-level-flake.rev; # FIXME
|
||||
# system.configurationRevision = self.rev;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue