mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix nix fmt
This commit is contained in:
parent
701ee8f205
commit
b1c13f4914
5 changed files with 7 additions and 7 deletions
|
|
@ -43,7 +43,7 @@ _:
|
||||||
|
|
||||||
inherit (pkgs.wineWowPackages) unstableFull;
|
inherit (pkgs.wineWowPackages) unstableFull;
|
||||||
inherit (pkgs.libsForQt5) kdenlive;
|
inherit (pkgs.libsForQt5) kdenlive;
|
||||||
librewolf = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
librewolf = pkgs.librewolf.override {cfg.speechSynthesisSupport = false;};
|
||||||
};
|
};
|
||||||
etc = {
|
etc = {
|
||||||
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
;
|
;
|
||||||
inherit (nvim-flake.packages) neovim;
|
inherit (nvim-flake.packages) neovim;
|
||||||
inherit (self.packages) lint nixfmt;
|
inherit (self.packages) lint nixfmt;
|
||||||
librewolf = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
librewolf = pkgs.librewolf.override {cfg.speechSynthesisSupport = false;};
|
||||||
};
|
};
|
||||||
etc = {
|
etc = {
|
||||||
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ writeShellApplication {
|
||||||
fd
|
fd
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
if [ -z "''${1:-""}" ]; then
|
if [ -z "''${1:-""}" ] || [ "$1" == "." ]; then
|
||||||
fd '.*\.nix' . -x statix fix -- {} \;
|
fd '.*\.nix' . -x statix fix -- {} \;
|
||||||
fd '.*\.nix' . -X deadnix -e -- {} \; -X nixfmt {} \;
|
fd '.*\.nix' . -X deadnix -e -- {} \; -X nixfmt {} \;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
version = "0.6.0-${inputs.nixfmt.shortRev}";
|
version = "0.6.0-${inputs.nixfmt.shortRev}";
|
||||||
|
|
||||||
src = inputs.nixfmt;
|
src = inputs.nixfmt;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue