fixed || true issue
This commit is contained in:
parent
601b2ac402
commit
04ad357b59
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ let
|
||||||
serverIP = "10.0.174.12";
|
serverIP = "10.0.174.12";
|
||||||
hasBootPartition = config.fileSystems ? "/boot";
|
hasBootPartition = config.fileSystems ? "/boot";
|
||||||
isNvidia = (builtins.readFile (pkgs.runCommandLocal "isNvidia" {} ''
|
isNvidia = (builtins.readFile (pkgs.runCommandLocal "isNvidia" {} ''
|
||||||
${pkgs.pciutils}/bin/lspci | ${pkgs.busybox}/bin/grep NVIDIA | ${pkgs.busybox}/bin/grep VGA > $out
|
${pkgs.pciutils}/bin/lspci | ${pkgs.busybox}/bin/grep NVIDIA | ${pkgs.busybox}/bin/grep VGA > $out || true
|
||||||
'')) != "";
|
'')) != "";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue