Ivan Dimitrov
9dcca1e3dc
commit d8926d88656f6eb1d7d69272e39875e383f91b14 Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 16:20:17 2023 +0200 maybe prod? commit 4a8854e7218f4b179310daadf9b95f6833686fdb Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 15:30:31 2023 +0200 better markdown commit c36d0308d2a9766174fde8432866e572a4b82d5e Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 14:50:00 2023 +0200 cases list styles commit 905d7edaccf2c2fd447f5cae35ef7bd88d86a2b1 Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 14:46:35 2023 +0200 contact page commit d09bd61eba53c403522d046a48ee6b66f62f9ffb Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 14:02:47 2023 +0200 more refactor and contact page commit d6257bb9ca35549031c9953fced97bdd53d10454 Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 13:56:47 2023 +0200 refactor commit 7d2a6ad6002a1e3d7b2ed83822caaffa49d3f37d Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 13:51:10 2023 +0200 working pages commit 6fa36883854c2e702a0c8b9fa6c9e397e4981575 Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 11:51:15 2023 +0200 style fixes commit 478412187792104b6c29e33def1cca0ef38ee2bf Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Sat Nov 11 08:42:50 2023 +0200 making markdown workd a little bit commit ba24b023fdbc32a2eaab15e29e10a031162287b4 Author: Ivan Dimitrov <ivan@idimitrov.dev> Date: Fri Nov 10 20:01:59 2023 +0200 content logic
39 lines
825 B
Nix
39 lines
825 B
Nix
{
|
|
description = ''
|
|
NextJS flake
|
|
'';
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
buildInputs = with pkgs; [
|
|
coreutils-full
|
|
nodejs_20
|
|
bun
|
|
];
|
|
tmuxConfig = ''
|
|
tmux new-session -s my_session -d
|
|
tmux new-window -t my_session:1
|
|
tmux new-window -t my_session:2
|
|
tmux new-window -t my_session:3
|
|
tmux send-keys -t my_session:1.0 'vi' C-m
|
|
tmux send-keys -t my_session:3.0 'bun run dev' C-m
|
|
tmux attach-session -t my_session
|
|
'';
|
|
in
|
|
{
|
|
devShell.${system} = pkgs.mkShell {
|
|
inherit buildInputs;
|
|
shellHook = ''
|
|
${tmuxConfig}
|
|
'';
|
|
};
|
|
};
|
|
}
|
|
|