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.
This commit is contained in:
Chris Scutcher 2023-02-07 15:37:12 +00:00
parent 08435eec4b
commit 4ba8181319
No known key found for this signature in database
GPG key ID: 19C0BED130CD39CE
11 changed files with 16 additions and 12 deletions

View file

@ -54,8 +54,8 @@
readOnly = true;
default = [{
fileSystems.${config.mountpoint} = {
inherit (config) device;
inherit (config) fsType;
device = config.device;
fsType = config.fsType;
options = config.mountOptions;
};
}];