Split flake.nix into separate flake-parts modules

This commit is contained in:
Oliver Davies 2025-08-25 17:42:13 +01:00
parent c70e94ae27
commit b4a233a20f
4 changed files with 121 additions and 33 deletions

View 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; })
];
};
}