Merge pull request #4 from ordionary/main

Back back
This commit is contained in:
2025-08-08 19:15:08 +02:00
committed by GitHub
3 changed files with 39 additions and 0 deletions

View File

@@ -21,6 +21,31 @@
let
hosts = import ./hosts;
inherit (builtins) listToAttrs;
overlay = final: prev: {
nvs = prev.buildGoModule rec {
pname = "nvs";
version = "1.10.5";
src = prev.fetchFromGitHub {
owner = "y3owk1n";
repo = pname;
tag = "v${version}";
sha256 = "sha256-Qp5c2F383Z0MxTtDt3wmLgxiAwfIJWupVDCePrBxNQI=";
};
# # Add completion generation
nativeBuildInputs = [ prev.installShellFiles ];
postInstall = ''
export HOME=$TMPDIR
installShellCompletion --cmd nvs \
--bash <($out/bin/nvs completion bash) \
--fish <($out/bin/nvs completion fish) \
--zsh <($out/bin/nvs completion zsh)
'';
vendorHash = "sha256-l2FdnXA+vKVRekcIKt1R+MxppraTsmo0b/B7RNqnxjA=";
};
};
in
{
darwinConfigurations = listToAttrs (
@@ -32,6 +57,9 @@
flake = self;
};
modules = [
{
nixpkgs.overlays = [ overlay ];
}
(import ./darwin.nix)
home-manager.darwinModules.home-manager
{

View File

@@ -41,8 +41,10 @@ with pkgs;
colima
lazydocker
exercism
posting
# Editor
nvs
neovim
fzf
lazygit

View File

@@ -19,6 +19,15 @@
mysql84
cocoapods
xcodes
# For projects
pixman
pkg-config
pango
libpng
giflib
librsvg
python313Packages.setuptools
];
};
}