mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 08:14:08 +09:00
nix flake
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./dotnix.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
_: {
|
||||
perSystem =
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
devShells.dotnix = pkgs.mkShell {
|
||||
packages = [
|
||||
config.treefmt.build.wrapper
|
||||
pkgs.gitleaks
|
||||
pkgs.git
|
||||
pkgs.pre-commit
|
||||
];
|
||||
|
||||
shellHook = config.pre-commit.settings.shellHook;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user