mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
Test nixos-option
This commit is contained in:
parent
de7083a495
commit
903c5d4df9
@ -174,6 +174,11 @@ let
|
||||
|
||||
$machine->succeed("nixos-rebuild switch >&2");
|
||||
|
||||
# Test nixos-option.
|
||||
$machine->succeed("nixos-option boot.initrd.kernelModules | grep virtio_console");
|
||||
$machine->succeed("nixos-option -d boot.initrd.kernelModules | grep 'List of modules'");
|
||||
$machine->succeed("nixos-option -l boot.initrd.kernelModules | grep /etc/nixos/configuration.nix");
|
||||
|
||||
$machine->shutdown;
|
||||
|
||||
# And just to be sure, check that the machine still boots after
|
||||
|
Loading…
Reference in New Issue
Block a user