~ehmry/sigil

da536518dba77d03db97779750b08fb766122a45 — Emery Hemingway 3 years ago 7ecd5bc vbox-simple
Nic policies must be prefixed with a comma
1 files changed, 4 insertions(+), 4 deletions(-)

M nixos-modules/hardware/nic.nix
M nixos-modules/hardware/nic.nix => nixos-modules/hardware/nic.nix +4 -4
@@ 89,10 89,10 @@ with lib;
          configFile = let
            policy = lib.mapAttrsToList (childName: value:
              if any (nic: nic == name) value.routeToNics then ''
                Init.Config.Policy::{
                 , service = "Nic"
                , label = Init.LabelSelector.prefix "nixos -> ${childName}"
                 }
                , Init.Config.Policy::{
                   , service = "Nic"
                  , label = Init.LabelSelector.prefix "nixos -> ${childName}"
                   }
              '' else
                "") config.genode.init.children;