nixos/qemu-vm: Fix condition in requiredKernelConfig
'optional' just takes a single item rather than a list
This commit is contained in:
parent
214af51225
commit
ef5268bcab
|
@ -751,7 +751,7 @@ in
|
|||
(isYes "NET_CORE")
|
||||
(isYes "INET")
|
||||
(isYes "NETWORK_FILESYSTEMS")
|
||||
] ++ optional (!cfg.graphics) [
|
||||
] ++ optionals (!cfg.graphics) [
|
||||
(isYes "SERIAL_8250_CONSOLE")
|
||||
(isYes "SERIAL_8250")
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue