Compare commits
3 commits
7d6a70ed2f
...
ff3ef64898
Author | SHA1 | Date | |
---|---|---|---|
ff3ef64898 | |||
ffc6b25de7 | |||
6584613929 |
3 changed files with 12 additions and 10 deletions
17
flake.nix
17
flake.nix
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -46,10 +46,6 @@ in
|
|||
configPath = typosConfigFile.outPath;
|
||||
locale = "en-us";
|
||||
};
|
||||
excludes = [
|
||||
".vale/*"
|
||||
"home/vencord.nix"
|
||||
];
|
||||
};
|
||||
vale.enable = true;
|
||||
};
|
||||
|
|
|
@ -32,5 +32,6 @@
|
|||
};
|
||||
pre-commit = {
|
||||
check-yaml.enable = true;
|
||||
sort-simple-yaml.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue