Fixed build issues by including guard rails; Merged configs

This commit is contained in:
2026-04-05 11:41:53 +02:00
parent 3e1965f0e8
commit 45f853b376
25 changed files with 1034 additions and 133 deletions

View File

@@ -1,14 +1,17 @@
{ pkgs, ... }: {
# TODO: Remove; nodePackages is unmaintained inside nixpkgs
{ pkgs, ... }:
{
# Live Server: Auto-reload browser for web development
# Uses browser-sync for live reload functionality
programs.nixvim = {
keymaps = [{
mode = "n";
key = "<leader>ls";
action =
"<cmd>terminal browser-sync start --server --files '*.html, *.css, *.js' --no-notify<cr>";
options.desc = "Start live server (browser-sync)";
}];
keymaps = [
{
mode = "n";
key = "<leader>ls";
action = "<cmd>terminal browser-sync start --server --files '*.html, *.css, *.js' --no-notify<cr>";
options.desc = "Start live server (browser-sync)";
}
];
extraPackages = with pkgs; [ nodePackages.browser-sync ];
};