mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
16 lines
276 B
Nix
16 lines
276 B
Nix
|
{ 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")
|
||
|
'';
|
||
|
}
|