forked from mirrors/nixpkgs
wireguard: don't modprobe if boot.isContainer is set
This commit is contained in:
parent
bac76e8a9e
commit
3ffda36356
|
@ -202,7 +202,7 @@ let
|
|||
};
|
||||
|
||||
script = ''
|
||||
modprobe wireguard
|
||||
${optionalString (!config.boot.isContainer) "modprobe wireguard"}
|
||||
|
||||
${values.preSetup}
|
||||
|
||||
|
|
Loading…
Reference in a new issue