treefmt v2.5.0traversed 99 files emitted 91 files for processing formatted 91 files (1 changed) in 2.713s M nixosModules/master.nix diff --git a/nixosModules/master.nix b/nixosModules/master.nix index 983beb2..5d72f7d 100644 --- a/nixosModules/master.nix +++ b/nixosModules/master.nix @@ -34,12 +34,14 @@ let ] name; - getAttrTag = attr: + getAttrTag = + attr: let names = lib.attrNames attr; in - assert lib.assertMsg (lib.length names == 1) "attribute set doesn't contain just one attribute, instead it contains: ${lib.concatStringsSep ", " names}"; - attr.${lib.head names}; + assert lib.assertMsg (lib.length names == 1) + "attribute set doesn't contain just one attribute, instead it contains: ${lib.concatStringsSep ", " names}"; + attr.${lib.head names}; backendPort = if (cfg.accessMode ? "fullyPrivate") then