Split flake.nix into separate flake-parts modules
This commit is contained in:
parent
c70e94ae27
commit
b4a233a20f
4 changed files with 121 additions and 33 deletions
25
flake-modules/dev-shell.nix
Normal file
25
flake-modules/dev-shell.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.devshell.flakeModule ];
|
||||
|
||||
perSystem.devshells.default =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
packages = with pkgs; [
|
||||
nodePackages.browser-sync
|
||||
|
||||
(php83.buildEnv {
|
||||
extraConfig = ''
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
|
||||
'';
|
||||
})
|
||||
|
||||
php83Packages.composer
|
||||
tailwindcss
|
||||
|
||||
(import ../drafts.nix { inherit pkgs; })
|
||||
(import ../new-draft.nix { inherit pkgs; })
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue