From 352700fdababedc0fdd32d458a74f38449ba9f55 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Mon, 17 Aug 2026 14:29:39 +0100 Subject: [PATCH] fix: point nvchad-starter to git.naps.pt/naps62/nvim-config, add /bin/bash symlink Co-Authored-By: Claude Sonnet 5 --- flake.lock | 18 +++++++++--------- flake.nix | 2 +- hosts/common/global/default.nix | 6 ++++++ 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 2fd75ea..49db26f 100644 --- a/flake.lock +++ b/flake.lock @@ -933,17 +933,17 @@ "nvchad-starter": { "flake": false, "locked": { - "lastModified": 1782738765, - "narHash": "sha256-/jxBHJ74FYVYm8JGO3ay2J3B2/Rf3/KvroivtJFFJRM=", - "owner": "naps62", - "repo": "nvchad-starter", - "rev": "020bf7716ea1b7d233cbdaef63c8585791f896b7", - "type": "github" + "lastModified": 1786971647, + "narHash": "sha256-RsRq+BRIrpSzDUU6hF+ITwFcjtiIPsFpk220+Civ010=", + "ref": "refs/heads/main", + "rev": "4db90cb097f2358b8adb8c11f116e4201b81d0f6", + "revCount": 178, + "type": "git", + "url": "https://git.naps.pt/naps62/nvim-config.git" }, "original": { - "owner": "naps62", - "repo": "nvchad-starter", - "type": "github" + "type": "git", + "url": "https://git.naps.pt/naps62/nvim-config.git" } }, "nvchad4nix": { diff --git a/flake.nix b/flake.nix index 1a70ab4..33b6687 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ inputs.nvchad-starter.follows = "nvchad-starter"; }; nvchad-starter = { - url = "github:naps62/nvchad-starter"; + url = "git+https://git.naps.pt/naps62/nvim-config.git"; flake = false; }; foundry = { diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index cbe85fd..aa47f0e 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -33,6 +33,12 @@ services.dbus.packages = with pkgs; [ gcr ]; + # NixOS provides /bin/sh but not /bin/bash. Some third-party scripts + # hardcode #!/bin/bash, so provide it too. + system.activationScripts.binbash = '' + ln -sf ${pkgs.bash}/bin/bash /bin/bash + ''; + # Compressed RAM swap — better behaviour under memory pressure. zramSwap.enable = true;