Unverified Commit bf3d134b authored by Rvfg's avatar Rvfg
Browse files

nixos/nixos-containers: format

parent 6ce61209
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -1053,8 +1053,14 @@ in
                }
                // (optionalAttrs containerConfig.autoStart {
                  wantedBy = [ "machines.target" ];
                  wants = [ "network.target" ] ++ (map (i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device") cfg.interfaces);
                  after = [ "network.target" ] ++ (map (i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device") cfg.interfaces);
                  wants = [
                    "network.target"
                  ]
                  ++ (map (i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device") cfg.interfaces);
                  after = [
                    "network.target"
                  ]
                  ++ (map (i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device") cfg.interfaces);
                  restartTriggers = [
                    containerConfig.path
                    config.environment.etc."${configurationDirectoryName}/${name}.conf".source