Commit graph

10 commits

Author SHA1 Message Date
lassulus
22b33a4fd6 types: refactor into diskoLib 2023-05-20 13:56:42 +02:00
lassulus
e1d5b132d1 types/lvm_vg: create 100% size lvs last 2023-05-15 16:06:54 +02:00
lassulus
af27d7917d run nix fmt 2023-05-12 17:20:14 +02:00
a-kenji
c6a5e20346 fix: typo 2023-05-11 09:27:26 +02:00
lassulus
654ecb386e types lvm_vg: inline lvm_lv type 2023-04-07 18:50:18 +02:00
Sandro Jäckel
2682530302
lvm_vg: allow putting unmounted disks into lvm 2023-03-15 20:59:55 +01:00
lassulus
6da7333a76 more quotes to make shellcheck happy 2023-02-14 10:07:22 +01:00
Chris Scutcher
4ba8181319
style: Disable inherit pattern check in statix
As discussed in [this
comment](https://github.com/nix-community/disko/pull/143#discussion_r1097912402),
as a blanket rule converting everything possible to `inherit` like
statements can hurt readability.

Add config file for statix to disable these checks and fixes, then rerun
the autofix with these options.
2023-02-07 15:37:12 +00:00
Chris Scutcher
08435eec4b
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
2023-02-06 14:24:34 +00:00
Jörg Thalheim
48e4c06004 split disko type into multiple files 2023-01-29 08:10:33 +01:00