mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
feat: add devshell and direnv
This commit is contained in:
parent
5a42cdfb6d
commit
3788778b4f
3 changed files with 17 additions and 1 deletions
16
flake.nix
16
flake.nix
|
@ -125,9 +125,23 @@
|
|||
};
|
||||
};
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, system, ... }:
|
||||
{
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs =
|
||||
with pkgs;
|
||||
[
|
||||
nixd
|
||||
nixfmt-rfc-style
|
||||
prettierd
|
||||
taplo
|
||||
]
|
||||
++ [
|
||||
inputs.viminal.packages.${system}.default
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue