mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
updated lint command
This commit is contained in:
parent
a2c26daf4a
commit
bcea731103
2 changed files with 11 additions and 2 deletions
|
|
@ -63,12 +63,16 @@
|
|||
nix-index
|
||||
;
|
||||
inherit (nvim-flake.packages.${pkgs.system}) neovim;
|
||||
lint = pkgs.writeShellScriptBin "lint" ''
|
||||
deadnix -e "$1"
|
||||
statix fix "$1"
|
||||
alejandra "$1"
|
||||
'';
|
||||
};
|
||||
etc = {
|
||||
"jdks/17".source = lib.getBin pkgs.openjdk17;
|
||||
"jdks/8".source = lib.getBin pkgs.openjdk8;
|
||||
};
|
||||
shellAliases.lint = "deadnix -e && statix fix && alejandra ./";
|
||||
};
|
||||
|
||||
services.udev.packages = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue