repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vuls: init at 0.27.0
[NixPkgs.git]
/
nixos
/
tests
/
non-switchable-system.nix
blob
54bede75453ba5f95055871e8bec9572b37d6601
1
{ lib, ... }:
2
3
{
4
name = "non-switchable-system";
5
6
meta.maintainers = with lib.maintainers; [ nikstur ];
7
8
nodes.machine = {
9
system.switch.enable = false;
10
};
11
12
testScript = ''
13
machine.succeed("test ! -e /run/current-system/bin/switch-to-configuration")
14
'';
15
}