Use alejandra for formatting Nix files
This commit is contained in:
parent
944db525e2
commit
cbe2b63679
12
flake.nix
12
flake.nix
|
@ -1,5 +1,4 @@
|
||||||
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
||||||
|
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
devshell.url = "github:numtide/devshell";
|
devshell.url = "github:numtide/devshell";
|
||||||
|
@ -12,7 +11,14 @@
|
||||||
|
|
||||||
systems = ["x86_64-linux"];
|
systems = ["x86_64-linux"];
|
||||||
|
|
||||||
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
perSystem = {
|
||||||
|
config,
|
||||||
|
self',
|
||||||
|
inputs',
|
||||||
|
pkgs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
devshells.default = {
|
devshells.default = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
"nodePackages.pnpm"
|
"nodePackages.pnpm"
|
||||||
|
@ -21,6 +27,8 @@
|
||||||
"php81Packages.composer"
|
"php81Packages.composer"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
formatter = pkgs.alejandra;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue