summary refs log tree commit diff
path: root/nixos/modules/services/networking/nomad.nix
diff options
context:
space:
mode:
authorPhillip Cloud <cloud@standard.ai>2021-01-23 18:04:26 -0500
committerPhillip Cloud <cloud@standard.ai>2021-01-23 19:44:37 -0500
commit5ce4ce61746c19f09ae1504a49f3216de6770055 (patch)
tree6a9815e068e1420594915d6404d4dfc180ff007f /nixos/modules/services/networking/nomad.nix
parent12b9249cf3cf4024b9ac4956e577126163110755 (diff)
downloadnixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.tar
nixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.tar.gz
nixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.tar.bz2
nixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.tar.lz
nixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.tar.xz
nixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.tar.zst
nixpkgs-5ce4ce61746c19f09ae1504a49f3216de6770055.zip
nixos/nomad: make formatting consistent in mkMerge call
Diffstat (limited to 'nixos/modules/services/networking/nomad.nix')
-rw-r--r--nixos/modules/services/networking/nomad.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/nomad.nix b/nixos/modules/services/networking/nomad.nix
index 571baf67154..87b4ff18818 100644
--- a/nixos/modules/services/networking/nomad.nix
+++ b/nixos/modules/services/networking/nomad.nix
@@ -142,7 +142,9 @@ in
         (mkIf cfg.enableDocker {
           SupplementaryGroups = "docker"; # space-separated string
         })
-        (mkIf (cfg.settings.data_dir == "/var/lib/nomad") { StateDirectory = "nomad"; })
+        (mkIf (cfg.settings.data_dir == "/var/lib/nomad") {
+          StateDirectory = "nomad";
+        })
       ];
 
       unitConfig = {