Use import-tree to import modules from a directory
This commit is contained in:
parent
640262f87f
commit
b0cd4852fd
5 changed files with 138 additions and 0 deletions
16
nix/flakes/import-tree/modules/dev-shell.nix
Normal file
16
nix/flakes/import-tree/modules/dev-shell.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.devshell.flakeModule ];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devshells.default.packages = with pkgs; [
|
||||
go
|
||||
php
|
||||
phpPackages.composer
|
||||
tailwindcss
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue