embed etc-nixos

This commit is contained in:
Alexander Tomokhov 2023-11-08 16:25:24 +04:00
parent b9dad899de
commit 049ecd3e32

View file

@ -29,7 +29,11 @@
specialArgs = { inherit system userdata; };
modules = [
# SelfPrivacy overlay
{ nixpkgs.overlays = [ selfprivacy-overlay.overlay ]; }
{
nixpkgs.overlays = [ selfprivacy-overlay.overlay ];
environment.etc.selfprivacy-nixos-config-source.source =
etc-nixos.outPath;
}
# machine specifics
"${etc-nixos}/hardware-configuration.nix"
# main configuration part