From 20d1321173362ed65518358452f1cd1776df86f6 Mon Sep 17 00:00:00 2001 From: Samuel Shuert Date: Mon, 3 Nov 2025 16:22:21 +0000 Subject: [PATCH] feat: new shell for HTML --- nilla.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/nilla.nix b/nilla.nix index 9c36e8c..80a0065 100644 --- a/nilla.nix +++ b/nilla.nix @@ -56,7 +56,7 @@ nilla.create ( }; }; - shells.default = config.shells.ts; + shells.default = config.shells.html; shells.python = { # Declare what systems the shell can be used on. systems = [ "x86_64-linux" ]; @@ -123,17 +123,28 @@ nilla.create ( ]; }; }; - shells.none = { + shells.html = { systems = [ "x86_64-linux" ]; shell = { + pkgs, mkShell, }: mkShell { shellHook = '' - echo "hello" + unset TMPDIR + serve() { + live-server /home/coded/Programming/CMU/html --port 5000 + } + export -f serve ''; + packages = [ + pkgs.emmet-language-server + pkgs.nixd + pkgs.nil + pkgs.nodePackages.live-server + ]; }; }; }; -- 2.51.2