summary refs log tree commit diff
path: root/nixos/tests/activation/nix-channel.nix
blob: 8416ff0347acaa64f72c1bdecec9ff4b5d04fa79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ lib, ... }:

{

  name = "activation-nix-channel";

  meta.maintainers = with lib.maintainers; [ nikstur ];

  nodes.machine = {
    nix.channel.enable = true;
  };

  testScript = ''
    print(machine.succeed("cat /root/.nix-channels"))
  '';
}