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 = perSystem =
{ system, config, ... }: { system, config, ... }:
let let
excludes = [
".vale/*"
"home/vencord.nix"
];
deepMerge = deepMerge =
lhs: rhs: lhs: rhs:
lhs lhs
@ -192,6 +188,9 @@
${pkgs.uutils-coreutils-noprefix}/bin/ln -fs ${helixLanguagesFile} ./.helix/languages.toml ${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; check-symlinks.enable = true;
flake-checker.enable = true; flake-checker.enable = true;
}; };
excludes = excludes; excludes = [
".vale"
"home/vencord.nix"
];
}; };
# https://flake.parts/options/treefmt-nix.html # https://flake.parts/options/treefmt-nix.html
treefmt = { treefmt = {
projectRootFile = "flake.nix"; projectRootFile = "flake.nix";
programs = treefmtPrograms; programs = treefmtPrograms;
settings.global.excludes = excludes; settings.global.excludes = [
".vale/*"
"home/vencord.nix"
];
}; };
}; };
} }

View file

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

View file

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