Update configuration files
This commit is contained in:
parent
c3cf2f249a
commit
13b6653536
7 changed files with 58 additions and 36 deletions
|
@ -1 +1 @@
|
|||
use flake
|
||||
use flake .
|
||||
|
|
|
@ -3,10 +3,8 @@
|
|||
PATH="${PATH}:./vendor/bin"
|
||||
|
||||
tmux new-window -dn scratch
|
||||
tmux new-window -dn sculpin
|
||||
tmux new-window -dn tailwind
|
||||
tmux new-window -dn server
|
||||
|
||||
tmux send-keys -t sculpin "sculpin generate --server --watch" Enter
|
||||
tmux send-keys -t tailwind "cd assets && tailwindcss --input css/tailwind.css --output ../source/build/tailwind.css --watch" Enter
|
||||
tmux send-keys -t server "./watch" Enter
|
||||
|
||||
nvim .
|
||||
|
|
|
@ -1,20 +1,27 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
inputs = {
|
||||
devshell.url = "github:numtide/devshell";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import inputs.nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.${system}.default =
|
||||
with pkgs;
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
nodePackages.browser-sync
|
||||
php
|
||||
phpPackages.composer
|
||||
];
|
||||
outputs =
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
imports = [ inputs.devshell.flakeModule ];
|
||||
|
||||
systems = [ "x86_64-linux" ];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devshells.default = {
|
||||
packages = with pkgs; [
|
||||
nodePackages.browser-sync
|
||||
php
|
||||
phpPackages.composer
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue