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