feature: pull in the latest updates, fix some errors and add a devenv for this repository
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
packages = with pkgs; [
|
||||
# issue tracker (git.0x29a.ch)
|
||||
tea
|
||||
|
||||
# nix tooling
|
||||
nixfmt # official formatter (RFC 166 style)
|
||||
statix # lints for nix anti-patterns
|
||||
deadnix # finds unused bindings and arguments
|
||||
nixd # language server
|
||||
nvd # diff system generations
|
||||
];
|
||||
|
||||
scripts = {
|
||||
lint.exec = ''
|
||||
statix check .
|
||||
deadnix --fail .
|
||||
'';
|
||||
fmt.exec = ''
|
||||
nixfmt $(git ls-files '*.nix')
|
||||
'';
|
||||
};
|
||||
|
||||
enterShell = ''
|
||||
echo "nixconfig devenv: tea, lint, fmt"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user