about summary refs log tree commit diff
path: root/nixos/tests/installer/flake.nix
blob: 4bbef44e34fc9fb5bb41d16b9c4a281999cd297d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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;
        }
      ];
    };
  };
}