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 =
|
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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,5 +32,6 @@
|
||||||
};
|
};
|
||||||
pre-commit = {
|
pre-commit = {
|
||||||
check-yaml.enable = true;
|
check-yaml.enable = true;
|
||||||
|
sort-simple-yaml.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue