mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
nixos/nixos-containers: format
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user