style: Apply nixpkgs-fmt and fix

Apply standard formatting and some statix conventions using;

```sh
nixpkgs-fmt **.nix && statix fix .
```

With the intent of making contribution a bit easier and reducing mental
load in hand formatting (in the same vein as [black]).

[black]: https://github.com/psf/black#the-uncompromising-code-formatter
This commit is contained in:
Chris Scutcher committed 2023-02-06 14:24:34 +00:00
1 parent b1a4ecb8ca
commit 08435eec4b
23 files changed
+171 -158

No files matched your search

+3 -2
View File
@@ -14,8 +14,9 @@ let
};
};
};
in {
types = types;
in
{
inherit types;
create = cfg: types.diskoLib.create (eval cfg).config.devices;
createScript = cfg: pkgs: pkgs.writeScript "disko-create" ''
#!/usr/bin/env bash