Compare commits
No commits in common. "ff3ef64898361148bec3df9250f7f83cfdf87403" and "7d6a70ed2ff65b838a424d81c313c88cc87f276b" have entirely different histories.
ff3ef64898
...
7d6a70ed2f
3 changed files with 10 additions and 12 deletions
17
flake.nix
17
flake.nix
|
@ -61,6 +61,10 @@
|
||||||
perSystem =
|
perSystem =
|
||||||
{ system, config, ... }:
|
{ system, config, ... }:
|
||||||
let
|
let
|
||||||
|
excludes = [
|
||||||
|
".vale/*"
|
||||||
|
"home/vencord.nix"
|
||||||
|
];
|
||||||
deepMerge =
|
deepMerge =
|
||||||
lhs: rhs:
|
lhs: rhs:
|
||||||
lhs
|
lhs
|
||||||
|
@ -188,9 +192,6 @@
|
||||||
${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}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -205,19 +206,13 @@
|
||||||
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 = [
|
settings.global.excludes = excludes;
|
||||||
".vale/*"
|
|
||||||
"home/vencord.nix"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,10 @@ 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,6 +32,5 @@
|
||||||
};
|
};
|
||||||
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