Refactor
This commit is contained in:
parent
6c6bbd9338
commit
308428e3d0
2 changed files with 30 additions and 2 deletions
11
flake.nix
11
flake.nix
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
inputs = {
|
||||
devshell.inputs.nixpkgs.follows = "nixpkgs";
|
||||
devshell.url = "github:numtide/devshell";
|
||||
|
||||
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
|
|
@ -19,12 +22,16 @@
|
|||
commonPhpPackages = pkgs: with pkgs; [ phpactor ];
|
||||
};
|
||||
|
||||
imports = [ (inputs.import-tree ./modules) ];
|
||||
imports = [
|
||||
inputs.devshell.flakeModule
|
||||
|
||||
(inputs.import-tree ./modules)
|
||||
];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
devshells.default = {
|
||||
packages = with pkgs; [ nixd ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue