mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
d00e242b80
For those who wish to get rid of nix-channel.
21 lines
491 B
Nix
21 lines
491 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;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|