depot/third_party/nixpkgs/nixos/tests/installer/flake.nix

22 lines
519 B
Nix

# This file gets copied into the installation
{
# To keep things simple, we'll use an absolute path dependency here.
inputs.nixpkgs.url = "@nixpkgs@";
outputs =
{ nixpkgs, ... }:
{
nixosConfigurations.xyz = nixpkgs.lib.nixosSystem {
modules = [
./configuration.nix
(nixpkgs + "/nixos/modules/testing/test-instrumentation.nix")
{
# We don't need nix-channel anymore
nix.channel.enable = false;
}
];
};
};
}