meshnamed: fix container
This commit is contained in:
parent
df1e166afb
commit
2bda2293cb
@ -65,8 +65,9 @@ in
|
|||||||
(builtins.attrValues config.clan.networking.meshnamed.networks);
|
(builtins.attrValues config.clan.networking.meshnamed.networks);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
after = [ "network.target" "sys-devices-virtual-net-meshnamed.device" ];
|
# fix container test
|
||||||
bindsTo = [ "sys-devices-virtual-net-meshnamed.device" ];
|
after = [ "network.target" ] ++ lib.optional config.boot.isContainer "sys-devices-virtual-net-meshnamed.device";
|
||||||
|
bindsTo = lib.optional (!config.boot.isContainer) "sys-devices-virtual-net-meshnamed.device";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
|
Loading…
Reference in New Issue
Block a user