1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/tests/non-switchable-system.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
276 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
{
name = "non-switchable-system";
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine = {
system.switch.enable = false;
};
testScript = ''
machine.succeed("test ! -e /run/current-system/bin/switch-to-configuration")
'';
}