1
0
Fork 0

Compare commits

...

3 commits

Author SHA1 Message Date
ff3ef64898
Fix excludes 2025-07-10 04:43:10 -05:00
ffc6b25de7
Fix pre-hooks not activating 2025-07-10 04:39:30 -05:00
6584613929
Readd sort-simple-yaml 2025-07-10 04:35:55 -05:00
3 changed files with 12 additions and 10 deletions

View file

@ -61,10 +61,6 @@
perSystem =
{ system, config, ... }:
let
excludes = [
".vale/*"
"home/vencord.nix"
];
deepMerge =
lhs: rhs:
lhs
@ -192,6 +188,9 @@
${pkgs.uutils-coreutils-noprefix}/bin/ln -fs ${helixLanguagesFile} ./.helix/languages.toml
'';
};
pre-commit.text = ''
${config.pre-commit.installationScript}
'';
};
};
};
@ -206,13 +205,19 @@
check-symlinks.enable = true;
flake-checker.enable = true;
};
excludes = excludes;
excludes = [
".vale"
"home/vencord.nix"
];
};
# https://flake.parts/options/treefmt-nix.html
treefmt = {
projectRootFile = "flake.nix";
programs = treefmtPrograms;
settings.global.excludes = excludes;
settings.global.excludes = [
".vale/*"
"home/vencord.nix"
];
};
};
}

View file

@ -46,10 +46,6 @@ in
configPath = typosConfigFile.outPath;
locale = "en-us";
};
excludes = [
".vale/*"
"home/vencord.nix"
];
};
vale.enable = true;
};

View file

@ -32,5 +32,6 @@
};
pre-commit = {
check-yaml.enable = true;
sort-simple-yaml.enable = true;
};
}